SOLVED! Possible Bug? when using Identify -format and the compression attribute? #1898
-
Hi Everyone, I can't figure out why Imagemagick is giving two different outputs for the same file. See my commands and outputs, and tell me if I have missed something, or if there is a bug. identify -format %p-%C\n CompressionError.tif I thought that I would receive the same output from both commands, but I don't. Are these two parameters different? Does one apply to the input file, and another to the output file? I don't notice any differentiation on the manual website. Any suggestions? See the batch output below, and note that I am using the old way of calling identify. C:\Temp\Compression Improvement Test>identify -format %p-%C\n CompressionError.tif C:\Temp\Compression Improvement Test>identify -format %p-%[compression]\n CompressionError.tif Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Could you also share your |
Beta Was this translation helpful? Give feedback.
-
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:
|
Beta Was this translation helpful? Give feedback.
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: