This module will optimize the file size of the generated images and can be used in 2 ways
- As an image effect, but this can slow down the generation of the image style
- [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
- https://github.com/pornel/improved-pngquant
- https://github.com/rflynn/imgmin
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
Project information
- Project categories: Media
36 sites report using this module
- Created by attiks on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
