#19232 closed enhancement (fixed)
Smush admin images to lower file size
Reported by: | georgestephanis | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | 3.3 |
Component: | Graphic Design | Keywords: | has-patch |
Focuses: | Cc: |
Description
Yahoo has a great little website called smushit.com (or smush.it if you prefer) that uses 100% lossless compression methods to make images deliver the same quality in significantly less space.
For example, I ran the contents of the ~/wp-admin/images/ folder through it, and it shaved off 23.34% or 35.87 kb off the files.
Smaller files are always good!
Zip files attached with smushed images.
Attachments (2)
Change History (16)
#3
@
13 years ago
- Summary changed from Please smush your images before comitting them! to Smush admin images to lower file size
#4
@
13 years ago
it's the sorta obnoxious thing that if it's done too early in the release cycle, the smaller files will just get overwritten as changes happen, but too late in the cycle noone wants to do it as it's late in the cycle. I'm not sure from a workflow perspective if it's really a practical solution as a ticket-action, or if it should be more of a 'guidelines' of smushing images before attaching them to tickets and such -- or if trac could somehow auto-smush uploaded images?
#8
@
12 years ago
Commenting here as per: https://github.com/WordPress/WordPress/pull/5
Hey. I used an OSX app called ImageOptim which uses 'PNGOUT' library to crush the graphics.
I used the 'xtreme' setting which does 1000s of trials over the graphics with no visual changes.
Obviously, saving 150kb (multiplied by the bajillion worpress installs out there) is a significant saving.
#10
@
12 years ago
Discussed in IRC this afternoon (https://irclogs.wordpress.org/chanlog.php?channel=wordpress-ui&day=2012-08-29&sort=asc#m54966).
Georgestephanis said, "This is something nacin's said before he'd rather have be an automated trigger in the repository using a tool like pngcrush, rather than using Yahoo's smushit API"
Nacin said, "I can ask bazza to add the script to http://code.trac.wordpress.org/browser/optimize-images. or batmoo".
#12
@
12 years ago
Done in [21980] - not sure if we should close as fixed or leave it open for an automated script (like bumpbot).
wp-includes/images folder compressed -- saving 34% or 11kb