2005.12.03 13:48 "Re: [Tiff] "Unknown field with tag" error", by Andrey Kiselev
On Fri, Dec 02, 2005 at 10:39:01AM -0800, John Engelke wrote:
I run the following on Mandrake 2006.0 with ImageMagick 6.2.4 installed (though I think that is irrelevant) and what I believe (don't quite know how to tell yet) is libtiff 3.6.1:
tiffsplit foo.tif sp
I get the following errors:
TIFFReadDirectory: Warning, foo.tif: wrong data type 1 for "XMLPacket"; tag ignored.
TIFFReadDirectory: Warning, two.tif: unknown field with tag 34665 (0x8769) encountered.
These are not errors, but just warnings (as it is stated in the message itself!). I am not sure why you got the first message. What is libtiff version installed on your system? The second one is just a signal that the file contains field that is not known to libtiff and can not be interpreted.
The split I was trying to accomplish (separating layers from a Photoshop TIF file) does not work. The file works fine in Photoshop.
Whay do you think you can split the layered TIFF file from Photoshop? I don't know how the information about layers is stored in a TIFF file and I am not sure that ImageMagick can work with that info.
P.S. I try the following from ImageMagick which crashes with errors:
identify -verbose foo.tif
and seemingly produces a similar error then a stack trace. I believe that ImageMagick also uses libtiff.
Could you send results of tiffinfo/tiffdump commands for that file?
Andrey V. Kiselev
Home phone: +7 812 5970603 ICQ# 26871517