Save progressive JPEGs
ausi opened this issue · 3 comments
ausi commented
We should use Imagine\Image\ImageInterface::interlace()
to store the JPEG files as progressive images.
This should most likely be configurable.
ausi commented
From https://www.imagemagick.org/script/command-line-options.php#interlace:
Use
Line
orPlane
to create aninterlaced PNG
orGIF
orprogressive JPEG
image.
And http://stackoverflow.com/questions/7261855/recommendation-for-compressing-jpg-files-with-imagemagick:
convert -strip -interlace Plane -gaussian-blur 0.05 -quality 85% source.jpg result.jpg
Looks like ImageInterface::INTERLACE_PLANE
is the way to go.
leofeyer commented
Any setting but INTERLACE_NONE
should get us a progressive JPG:
But I also think that INTERLACE_PLANE
is the way to go.