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!
Set IPTC profiles not retained when saving as TIFF
Re: Set IPTC profiles not retained when saving as TIFF
We have a fix for the problem you reported. It will be available in the next ImageMagick release within a week or two.