Skip to content

SOLVED! Possible Bug? when using Identify -format and the compression attribute? #1898

Discussion options

You must be logged in to vote

By default, image identification is light weight and fast. It only guarantees accurate results for a limited number of image attributes such as width, height, scene, and format. See https://imagemagick.org/script/identify.php. To retrieve accurate image properties, add +ping to your command-line. Its a slower process, but guarantees accurate results:

$ identify +ping -format "%p-%[compression]\n" CompressionError.tif 
identify: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/1037.
0-LZW
1-None
2-None
3-None
4-None

$ identify +ping -format "%p-%C\n" CompressionError.tif
identify: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFF…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@JoshuaInDC
Comment options

Comment options

You must be logged in to vote
1 reply
@JoshuaInDC
Comment options

Answer selected by dlemstra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants