Page 1 of 1

JPEG progressive scans number

Posted: 2015-08-11T20:37:43-07:00
by mlabarinas
HI guys:

I want to know the number of scans with a progressive jpeg is generated, I use this command:

convert -interlace plane in.jpg out.jpg

Is it a default value? Can I change it? How?

Thanks.

Re: JPEG progressive scans number

Posted: 2015-08-12T07:18:27-07:00
by glennrp
ImageMagick only offers progressive (-interlace plane) and nonprogressive (-interlace none). When writing a progressive JPEG, the number of scans is the default value for the jpeg library. This seems to be 8, but others are possible when using libjpeg's "cjpeg", but not when using ImageMagick (see wizards.txt in the libjpeg distribution).