Image optimize effect
Categories
Component ID
1876994
Component name
Image optimize effect
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
3412
Component created
Component changed
Component body
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
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
