Error in TIFF IPTC Profile handling

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
JDlugosz

Error in TIFF IPTC Profile handling

Post by JDlugosz »

If a TIFF file contains this tag:

Code: Select all

33723 (0x83bb) BYTE (1) 296<0x1c 0x2 00 00 0x2 00 0x4 0x1c 0x2 0x19 00 0x13 0x63 0x61 0x6c 0x69 0x62 0x72 0x61 0x74 0x65 0x64 0x20 0x69 ...>
It is either ignored or gives an error "wrong data type 1 for "RichTIFFIPTC"; tag ignored. `TIFFReadDirectory'." BYTE (see http://www.awaresystems.be/imaging/tiff ... /iptc.html) is the correct type.

If I add an IPTC profile using mogrify, it adds a TIFF tag 0x8649 which is actually a "Collection of Photoshop 'Image Resource Blocks'." and other programs don't see any profile attached to the file.

--John
Post Reply