Error converting tif on CentOS

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
rjlinden
Posts: 3
Joined: 2014-03-19T03:55:33-07:00
Authentication code: 6789

Error converting tif on CentOS

Post by rjlinden » 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

User avatar
dlemstra
Posts: 1576
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Error converting tif on CentOS

Post by dlemstra » 2014-03-19T04:36:35-07:00

Are you using the same version of ImageMagick on both operating systems?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

rjlinden
Posts: 3
Joined: 2014-03-19T03:55:33-07:00
Authentication code: 6789

Re: Error converting tif on CentOS

Post by rjlinden » 2014-03-19T04:53:22-07:00

Well.. almost.. :|

CentOS: 6.8.7-4 2013-11-02 Q16
Localhost: 6.8.7-0 2013-09-18 Q16

User avatar
dlemstra
Posts: 1576
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Error converting tif on CentOS

Post by dlemstra » 2014-03-19T06:07:40-07:00

Which version of libtiff is installed on CentOS? Your Windows version uses 4.0.3.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

rjlinden
Posts: 3
Joined: 2014-03-19T03:55:33-07:00
Authentication code: 6789

Re: Error converting tif on CentOS

Post by rjlinden » 2014-03-19T06:19:38-07:00

3.9.4-10.el6_5

User avatar
fmw42
Posts: 25654
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Error converting tif on CentOS

Post by fmw42 » 2014-03-19T09:45:20-07:00

suggest you upgrade your libtif to at least the same version or higher than on your windows system

Post Reply