Set IPTC profiles not retained when saving as TIFF

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
jn0101
Posts: 40
Joined: 2007-06-16T01:36:07-07:00

Set IPTC profiles not retained when saving as TIFF

Post by jn0101 »

If I save a IPTC-profile to an external file:

convert original.jpg xx.8bim

and then sets this profile on another image (test.tif) and saves as TIF and JPG:

convert -profile xx.8bim test.tif testWithProfile.tif
convert -profile xx.8bim test.tif testWithProfile.jpg

the profile is NOT saved on the TIF file.
(according to identify -verbose testWithProfile.tif )
but is there alright on the JPG-file.

This was is done on Linux with the newest version of IM from CVS (6,3,6,0).
The error also shows up using MagickWand (through JMagick) on Linux with the newest version of IM from CVS.
It has also been verified in IM 6.3.5 using MagickWand (through JMagick) on Windows.
In the JMagick case we didnt save the profile to an external file, we just stored in a byte array.
(I can send you the corresponding C or Java code in you need it)

If needed the two images can be downloaded from:
http://javabog.dk/filer/original.jpg
http://javabog.dk/filer/test.tif


Yours,
Jacob Nordfalk

P.S. Thanks for your big work on a great graphics library!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Set IPTC profiles not retained when saving as TIFF

Post by magick »

We have a fix for the problem you reported. It will be available in the next ImageMagick release within a week or two.
Post Reply