bug trying to retrieve file format for TIFF image
Posted: 2012-11-21T01:59:19-07:00
I am trying to retrieve the file format for a bunch of TIFF images via the following command:
This works for most of the TIFF images I have, but some files give output as following:
I am using Debian Linux with the following ImageMagick version:
Version: ImageMagick 6.6.0-4 2012-05-02 Q16
I'm no ImageMagick expert, but searching around the net didn't return much useful results, so I'm trying here with the experts
Link to the file that's giving problems: http://bit.ly/Sa0ssk
Code: Select all
/usr/bin/identify -format "%m" [FILENAME]
I guess the warnings are not good, but the fact that the file format output is "TIFFTIFF" breaks my scripts :/identify: dadizele40.tiff: unknown field with tag 317 (0x13d) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704.
identify: dadizele40.tiff: unknown field with tag 34391 (0x8657) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704.
identify: dadizele40.tiff: unknown field with tag 34392 (0x8658) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704.
identify: incorrect count for field "Tag 34391" (0, expecting 1); tag ignored. `dadizele40.tiff' @ warning/tiff.c/TIFFWarnings/704.
identify: incorrect count for field "Tag 34392" (0, expecting 1); tag ignored. `dadizele40.tiff' @ warning/tiff.c/TIFFWarnings/704.
identify: dadizele40.tiff: unknown field with tag 317 (0x13d) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704.
TIFFTIFF
I am using Debian Linux with the following ImageMagick version:
Version: ImageMagick 6.6.0-4 2012-05-02 Q16
I'm no ImageMagick expert, but searching around the net didn't return much useful results, so I'm trying here with the experts
Link to the file that's giving problems: http://bit.ly/Sa0ssk