Page 1 of 1

Is it possible to output file type and progressiveness only?

Posted: 2008-10-02T23:32:31-07:00
by imagenki
Hi I tried this command to output only file type.

Code: Select all

identify -format "%m" 0000048884_20080529155208.jpg
However, I can't find any info related to a way to find progressiveness. Is there special format letter to return it that I might have missed?

Thanks in advance.

Re: Is it possible to output file type and progressiveness only?

Posted: 2008-10-02T23:45:13-07:00
by fmw42
imagenki wrote:Hi I tried this command to output only file type.

Code: Select all

identify -format "%m" 0000048884_20080529155208.jpg
However, I can't find any info related to a way to find progressiveness. Is there special format letter to return it that I might have missed?

Thanks in advance.
Best I can figure out, you have to extract it from the verbose info:

convert rose: -interlace line rose.jpg
identify -verbose rose.jpg | grep "Interlace:"

returns:
Interlace: JPEG


see
http://www.imagemagick.org/script/comma ... #interlace
for JPEG progressive via interlace line or plane

Re: Is it possible to output file type and progressiveness only?

Posted: 2008-10-03T00:03:42-07:00
by imagenki
fmw42 wrote: convert rose: -interlace line rose.jpg
identify -verbose rose.jpg | grep "Interlace:"
I think that should work. How would I have not thought about that??? :?
Thanks so much!