Bug 2273 - LIBTIFF issues with IPTC from CS5 files.
: LIBTIFF issues with IPTC from CS5 files.
Status: RESOLVED LATER
: libtiff
default
: unspecified
: PC All
: P2 enhancement
: ---
Assigned To:
:
:
: migrated_to_gitlab
:
:
  Show dependency treegraph
 
Reported: 2010-11-22 13:14 by
Modified: 2019-10-01 14:19 (History)


Attachments
tif sample with RichTIFFIPTC (819.43 KB, image/tiff)
2012-01-03 07:57, Oliver Sauder
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2010-11-22 13:14:15
I have been running into issues with ImageMagick when trying to extract IPTC
data from it. I reported the bug on the ImageMagick discussion forums and have
been told this is an issue with libtiff.

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]$ 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||[/code]

The IPTC fields can be viewed in Photoshop and Exiftool, however identify
cannot read them. 

[code]$ 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:    [/code]

A copy of the image in question can be downloaded here (warning: file size is
about 92MB)
http://kurtimaging.com/ba-obj-872-0006-pub.tif
------- Comment #1 From 2012-01-03 07:57:17 -------
Created an attachment (id=471) [details]
tif sample with RichTIFFIPTC

I can reproduce this issue with the current libtiff version 4.0.0beta7 as well,
using the attached tif file and following libtiff tool command:
tiff2pdf 01568028.tif -o 01568028.pdf

Output:
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
------- Comment #3 From 2019-10-01 14:19:35 -------
Bugzilla is no longer used for tracking libtiff issues. Remaining open tickets,
such as this one, have been migrated to the libtiff GitLab instance at
https://gitlab.com/libtiff/libtiff/issues .

The migrated tickets have their summary prefixed with [BZ#XXXX] where XXXX is
the initial Bugzilla issue number.