r114024 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114023‎ | r114024 | r114025 >
Date:17:13, 16 March 2012
Author:reedy
Status:ok (Comments)
Tags:
Comment:
Crush images from r114023

Drops from 165KB to 58.5KB (200KB to 116KB as size on disk)

Also fix svn:mime-type
Modified paths:
  • /trunk/extensions/EducationProgram/resources/images/flag_brazil.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/flag_canada.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/flag_egypt.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/flag_germany.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/flag_india.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/flag_israel.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/flag_mexico.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/flag_sweden.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/flag_tchech+republic.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/flag_unitedkingdom.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/flag_unitedstates.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-0.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-10.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-20.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-30.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-40.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-5.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-50.png (modified) (history)
  • /trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-60.png (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/resources/images/flag_canada.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/flag_canada.png
___________________________________________________________________
Modified: svn:mime-type
11 - application/octet-stream
22 + image/png
Index: trunk/extensions/EducationProgram/resources/images/flag_unitedstates.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/flag_unitedstates.png
___________________________________________________________________
Modified: svn:mime-type
33 - application/octet-stream
44 + image/png
Index: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-10.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-10.png
___________________________________________________________________
Modified: svn:mime-type
55 - application/octet-stream
66 + image/png
Index: trunk/extensions/EducationProgram/resources/images/flag_israel.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/flag_israel.png
___________________________________________________________________
Modified: svn:mime-type
77 - application/octet-stream
88 + image/png
Index: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-20.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-20.png
___________________________________________________________________
Modified: svn:mime-type
99 - application/octet-stream
1010 + image/png
Index: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-30.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-30.png
___________________________________________________________________
Modified: svn:mime-type
1111 - application/octet-stream
1212 + image/png
Index: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-40.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-40.png
___________________________________________________________________
Modified: svn:mime-type
1313 - application/octet-stream
1414 + image/png
Index: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-50.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-50.png
___________________________________________________________________
Modified: svn:mime-type
1515 - application/octet-stream
1616 + image/png
Index: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-60.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-60.png
___________________________________________________________________
Modified: svn:mime-type
1717 - application/octet-stream
1818 + image/png
Index: trunk/extensions/EducationProgram/resources/images/flag_brazil.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/flag_brazil.png
___________________________________________________________________
Modified: svn:mime-type
1919 - application/octet-stream
2020 + image/png
Index: trunk/extensions/EducationProgram/resources/images/flag_india.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/flag_india.png
___________________________________________________________________
Modified: svn:mime-type
2121 - application/octet-stream
2222 + image/png
Index: trunk/extensions/EducationProgram/resources/images/flag_mexico.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/flag_mexico.png
___________________________________________________________________
Modified: svn:mime-type
2323 - application/octet-stream
2424 + image/png
Property changes on: trunk/extensions/EducationProgram/resources/images/flag_tchech republic.png
___________________________________________________________________
Modified: svn:mime-type
2525 - application/octet-stream
2626 + image/png
Index: trunk/extensions/EducationProgram/resources/images/flag_sweden.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/flag_sweden.png
___________________________________________________________________
Modified: svn:mime-type
2727 - application/octet-stream
2828 + image/png
Index: trunk/extensions/EducationProgram/resources/images/flag_egypt.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/flag_egypt.png
___________________________________________________________________
Modified: svn:mime-type
2929 - application/octet-stream
3030 + image/png
Index: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-0.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-0.png
___________________________________________________________________
Modified: svn:mime-type
3131 - application/octet-stream
3232 + image/png
Index: trunk/extensions/EducationProgram/resources/images/flag_unitedkingdom.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/flag_unitedkingdom.png
___________________________________________________________________
Modified: svn:mime-type
3333 - application/octet-stream
3434 + image/png
Index: trunk/extensions/EducationProgram/resources/images/flag_germany.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/flag_germany.png
___________________________________________________________________
Modified: svn:mime-type
3535 - application/octet-stream
3636 + image/png
Index: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-5.png
Cannot display: file marked as a binary type.
svn:mime-type = (application/octet-stream, image/png)
Property changes on: trunk/extensions/EducationProgram/resources/images/student-o-meter_morethan-5.png
___________________________________________________________________
Modified: svn:mime-type
3737 - application/octet-stream
3838 + image/png

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r114023work on special:studentactivity and adding frank his imagesjeroendedauw16:59, 16 March 2012

Comments

#Comment by Jeroen De Dauw (talk | contribs)   18:02, 16 March 2012

What compression(?) tool are you using for images, and where can I get it?

#Comment by Reedy (talk | contribs)   18:11, 16 March 2012

Under windows I'm using pngout http://advsys.net/ken/utils.htm with a 1 line batch script to iteratively go through all directories and shrink the pngs

for /r %%i in (*.png) do pngout.exe %%i

There are some web tools that will do it aswell, but they didn't seem to work aswell

Fix *nix, there is pngcrush among others. And it's packaged for ubuntu

Status & tagging log