11
I several TIFF images in a folder. How can I determine which image compression algorithm they use?
When I do file I get
100 (2).tif: TIFF image data, little-endian
100.tif: TIFF image data, little-endian
These results don't say which algorithm is used, or even whether it's lossy or lossless. How can I figure this out? Solutions can be Windows- or Linux-based.
1Looking at the image's extension should be enough. – Icarus – 2012-03-20T13:52:23.790
isn't the extension a sufficient information? else,
filegives you the basic infos on a file (linux/macosx) – None – 2012-03-20T13:52:40.8931Most compression algorithms include a header with a fixed tag of some form. It wouldn't be too much of a challenge to roll your own identifier. – adelphus – 2012-03-20T13:53:25.677