asciidisco / grunt-imagine

Grunt tasks for optimizing & inlining images
MIT License
153 stars 21 forks source link

Add optional lossy JPEG compression #24

Closed michaelmelanson closed 11 years ago

michaelmelanson commented 11 years ago

These patches adds a quality setting to the jpgmin block which, optionally, enables lossy compression through jpegoptim's -m flag. Without the setting, it continues to use lossless compression.

asciidisco commented 11 years ago

Soooooo nice. Thank you. I should have some time over the easter weekend to put together a new npm package :)