IPTC errors from CS5 Tiffs

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
kb2zuz

IPTC errors from CS5 Tiffs

Post 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:    
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: IPTC errors from CS5 Tiffs

Post 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.
kb2zuz

Re: IPTC errors from CS5 Tiffs

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: IPTC errors from CS5 Tiffs

Post 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.
kb2zuz

Re: IPTC errors from CS5 Tiffs

Post 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.
Post Reply