Page 1 of 1

IPTC errors from CS5 Tiffs

Posted: 2010-11-17T14:36:59-07:00
by kb2zuz
Running most commands on TIFF files originating from Photoshop CS5 on a Mac appear to result in a warning of:
wrong data type 7 for "RichTIFFIPTC"; tag ignored. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704.

including the tag -quiet removes the warning, however when attempting to use identify to extract IPTC data, it is unable to retrieve IPTC data, there is data:

Code: Select all

$ identify -format "%w|%h|%[IPTC:2:25]|%[IPTC:2:116]"  ba-obj-872-0006-pub.tif
identify: ba-obj-872-0006-pub.tif: wrong data type 7 for "RichTIFFIPTC"; tag ignored. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704.
4462|7235||
The IPTC fields can be viewed in Photoshop and Exiftool, however identify cannot read them.

Code: Select all

$ identify -version
Version: ImageMagick 6.6.5-0 2010-11-15 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features:    

Re: IPTC errors from CS5 Tiffs

Posted: 2010-11-17T16:38:44-07:00
by magick
Post a URL to one or two of the problematic TIFF images. We need to download them and reproduce the problem before we can comment.

Re: IPTC errors from CS5 Tiffs

Posted: 2010-11-18T07:31:57-07:00
by kb2zuz
Not a problem, note the image below is a 92MB file.

http://kurtimaging.com/ba-obj-872-0006-pub.tif

Thank you for your assistance.

Re: IPTC errors from CS5 Tiffs

Posted: 2010-11-19T19:02:56-07:00
by magick
The problem you reported is not a bug in ImageMagick. Instead its a bug from Adobe and / or libtiff as discussed here: http://old.nabble.com/libtiff-and-IPTC- ... 62965.html.

Re: IPTC errors from CS5 Tiffs

Posted: 2010-11-22T06:33:33-07:00
by kb2zuz
Thanks for looking into it. Do you know if a bug report was made to those responsable for libtiff? It looks like it's mentioned in discussion you posted, so I assume it was. I wrote to a PM at Adobe, but I'm not holding my breath on anything getting done about it on their end.