andismith / grunt-responsive-images

Produce images at different sizes for responsive websites.
http://www.andismith.com/grunt-responsive-images/
MIT License
719 stars 96 forks source link

Quality Option Fix #3

Closed pdud closed 11 years ago

pdud commented 11 years ago

Great plugin you have here! Thanks!

I noticed the same quality issues that were in #1.

These seem to fix the issue :tada:


  1. Quality settings were always overwritten with the defaults
  2. node-imagemagick only adds the quality option if the format is 'jpg' or 'jpeg'. Currently sending in '.jpg' or '.jpeg'
andismith commented 11 years ago

Thanks for the pull request, I'll merge it in tonight.

andismith commented 10 years ago

Thank you for writing this fix! It's now on npm as version 0.0.4