Error converting tif on CentOS
Posted: 2014-03-19T04:03:07-07:00
Hello,
When I try to convert my .tif on CentOS it gives an error but does convert the image. However as I am using im4java to convert the file, it fails because of this error.
On my local Windows machine everything is working fine..
From the command line on CentOS:
# identify test.tif
identify: test.tif: unknown field with tag 34864 (0x8830) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/842.
identify: test.tif: unknown field with tag 34866 (0x8832) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/842.
identify: test.tif: unknown field with tag 42033 (0xa431) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/842.
identify: test.tif: unknown field with tag 42034 (0xa432) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/842.
identify: Tag 42034: Rational with zero denominator (num = 0). `test.tif' @ error/tiff.c/TIFFErrors/561.
identify: test.tif: unknown field with tag 42036 (0xa434) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/842.
identify: test.tif: unknown field with tag 42037 (0xa435) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/842.
From the command line on Windows (local machine):
d:\development\dpc\test.tif TIFF 5760x3840 5760x3840+0+0 8-bit sRGB 66.39MB 0.031u 0:00.017
identify.exe: Unknown field with tag 34864 (0x8830) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/838.
identify.exe: Unknown field with tag 34866 (0x8832) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/838.
identify.exe: Unknown field with tag 42033 (0xa431) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/838.
identify.exe: Unknown field with tag 42034 (0xa432) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/838.
identify.exe: Unknown field with tag 42036 (0xa434) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/838.
identify.exe: Unknown field with tag 42037 (0xa435) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/838.
Does anybody know why I'm getting this different behaviour?
Thanks,
Roberto
When I try to convert my .tif on CentOS it gives an error but does convert the image. However as I am using im4java to convert the file, it fails because of this error.
On my local Windows machine everything is working fine..
From the command line on CentOS:
# identify test.tif
identify: test.tif: unknown field with tag 34864 (0x8830) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/842.
identify: test.tif: unknown field with tag 34866 (0x8832) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/842.
identify: test.tif: unknown field with tag 42033 (0xa431) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/842.
identify: test.tif: unknown field with tag 42034 (0xa432) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/842.
identify: Tag 42034: Rational with zero denominator (num = 0). `test.tif' @ error/tiff.c/TIFFErrors/561.
identify: test.tif: unknown field with tag 42036 (0xa434) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/842.
identify: test.tif: unknown field with tag 42037 (0xa435) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/842.
From the command line on Windows (local machine):
d:\development\dpc\test.tif TIFF 5760x3840 5760x3840+0+0 8-bit sRGB 66.39MB 0.031u 0:00.017
identify.exe: Unknown field with tag 34864 (0x8830) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/838.
identify.exe: Unknown field with tag 34866 (0x8832) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/838.
identify.exe: Unknown field with tag 42033 (0xa431) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/838.
identify.exe: Unknown field with tag 42034 (0xa432) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/838.
identify.exe: Unknown field with tag 42036 (0xa434) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/838.
identify.exe: Unknown field with tag 42037 (0xa435) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/838.
Does anybody know why I'm getting this different behaviour?
Thanks,
Roberto