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
Error converting tif on CentOS
Re: Error converting tif on CentOS
Are you using the same version of ImageMagick on both operating systems?
Re: Error converting tif on CentOS
Well.. almost.. 
CentOS: 6.8.7-4 2013-11-02 Q16
Localhost: 6.8.7-0 2013-09-18 Q16

CentOS: 6.8.7-4 2013-11-02 Q16
Localhost: 6.8.7-0 2013-09-18 Q16
Re: Error converting tif on CentOS
Which version of libtiff is installed on CentOS? Your Windows version uses 4.0.3.
Re: Error converting tif on CentOS
3.9.4-10.el6_5
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Error converting tif on CentOS
suggest you upgrade your libtif to at least the same version or higher than on your windows system