This module will optimize the file size of the generated images and can be used in 2 ways

  1. As an image effect, but this can slow down the generation of the image style
  2. [prefered way] As a drush command drush image-optimize-effect-all, this will optimize all image styles that aren't optimized yet.

Warnings (when used as image effect)

  • Only tested on Ubuntu 12.04 LTS
  • Converting an image can take some seconds to complete

This module adds 3 new image effects:

  • pngquant to optimize png files.
  • imgmin to optimize all image files, but it works best for jpg files.
  • save an image as interlaces.

Dependencies

More info

http://calendar.perfplanet.com/2012/giving-your-images-an-extra-squeeze
http://calendar.perfplanet.com/2012/progressive-jpegs-a-new-best-practice

Credit

Code re-used from imagemagick

Donate or Flattr to support further development.

Project Information

Downloads