JPEG progressive scans number

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
mlabarinas
Posts: 1
Joined: 2015-08-11T20:27:41-07:00
Authentication code: 1151

JPEG progressive scans number

Post 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.
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: JPEG progressive scans number

Post 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).
Post Reply