Page 1 of 1

How to check whether image is old styled jpeg compression mode or New styled JPEG compression ?

Posted: 2017-02-15T02:22:25-07:00
by punith8626
Hello,

I have a Tiff Image but when I try to convert to jpeg it says current Tiff file is old styled JPEG compression mode.
How can we check whether the image is old styled JPEG compression or new styled JPEG compression ?

Any Possibility ?

Re: How to check whether image is old styled jpeg compression mode or New styled JPEG compression ?

Posted: 2017-02-15T03:00:46-07:00
by snibgo
I think "identify -verbose" will also tell you.

Re: How to check whether image is old styled jpeg compression mode or New styled JPEG compression ?

Posted: 2017-02-15T12:11:55-07:00
by Jason S
Other than the warning message, I see nothing in the "identify -verbose" output that tells you this. It says "Compression: JPEG" either way.

Outside of ImageMagick, you could use tiffinfo from libtiff ("Old-style JPEG" vs. "JPEG"), ExifTool ("JPEG (old-style)" vs. "JPEG"), or some versions of the Unix file command ("JPEG (old)" vs. "JPEG").

Note that a TIFF file can contain multiple images, each with a different compression method.