[wp-trac] [WordPress Trac] #17641: Tweaks and optimizations for Twenty Eleven images

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 2 08:06:48 UTC 2011


#17641: Tweaks and optimizations for Twenty Eleven images
------------------------------------+------------------------
 Reporter:  demetris                |       Owner:  nacin
     Type:  enhancement             |      Status:  reviewing
 Priority:  normal                  |   Milestone:  3.2
Component:  Themes                  |     Version:  3.2
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------
Changes (by demetris):

 * keywords:   => has-patch dev-feedback


Comment:

 Here is the further, drastic step of optimization:

 Applying '''lossy''' compression to the JPEG header images of Twenty
 Eleven.

 As you can see in the linked ZIP archive, there are huge gains to be had
 at the cost of negligible loss. (The differences are certainly obvious in
 AB comparisons and I imagine that in many cases they would be easy to ABX
 too, but that is not very relevant considering the intended use of the
 images.)

 The tool I used was ''convert'' from the ImageMagick suite, version
 6.6.9.7 (current version in Debian Sid; upstream is currently at 6.7.0). I
 compressed the images at three different quality levels: 50, 62.5 and 75.
 As a base I used the tweaked images from the above-linked ZIP archive,
 which have had their metadata stripped but are otherwise identical to the
 originals.

 Using quality 50 the total size for the eight headers goes down from
 1.917.360 to 327.880 bytes, which is a gain of '''83%'''! I submit the
 results of all three compression levels, along with the original images,
 for your consideration:

 http://op111.net/u/wp/t17658-twentyeleven-headers.zip

 (For my part, I am happy with the result in the q50 images except maybe
 for one image, lanterns.jpg.)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17641#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list