avalanche123/Imagine — pull request #293 by vlakoff (2014-03-05 04:57:36+00:00)
Title: Apply quality option only to JPEG images

The quality option is specific to JPEG and should not be applied to other formats. For instance, it could lead to wrong PNG compression level.

Also fixed a possible error (imagepng() arguments shifted) in GD with PNG if filter specified but not quality.

----------------------------------------
follow-up to #259