Possible bug with XMP

Mikołaj Machowski <[email protected]>
Newsgroups gmane.comp.video.image-magick.user
Organization Nowa Poczta Wirtualnej Polski S.A. http://www.wp.pl/
Message-ID <[email protected]>
Hello,

I have image:

http://www.witkacy.hg.pl/im-xmp/DSCF1199-orig.jpg

This image has some metadata (XMP and IPTC) added by FotoStation 
(creator, authors position, copyright string).

I am processing it with command (part of script, only one command 
touching image and its metadata):

convert -depth 16 "$1[0]" -filter lanczos -resize ">800 x >800" -unsharp 
"1x1+0.3" -sampling-factor 1x1 -density 72 -units PixelsPerInch -quality 
85 -depth 8 "d:\\obrazki800\\$NAME.jpg"

New image metadata is unreadable in FotoStation and in exiv2. Only 
exiftool see metadata. In exiv2 (exiv2 -px DSCF1199.jpg) I see only:

Warning: Directory Image, entry 0x0001 has unknown Exif (TIFF) type 0; 
setting type size 1.
Warning: Directory Thumbnail, entry 0x0001 has unknown Exif (TIFF) type 
0; setting type size 1.

Image after processing is here:

http://www.witkacy.hg.pl/im-xmp/DSCF1199.jpg

I tried to extract original metadata and reapply it later (convert 
DSCF1199.jpg -profile xmp:kreta.xmp dscf1199-with-xmp.jpg without 
success (FS doesn't see metadata at all, exiv2 gives the same message). 
XMP profile is here:

http://www.witkacy.hg.pl/im-xmp/kreta.xmp

And image with "reapplied" data here:

http://www.witkacy.hg.pl/im-xmp/dscf1199-with-xmp.jpg

IM:
Version: ImageMagick 6.5.2-8 2009-05-23 Q16 OpenMP 
http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC

exiftool: 7.48
exiv2: 0.19

Everything on WindowsXP. Since 2 of 3 programs are not reading metadata 
properly after IM processing I am leaning to blame IM...

Please help! :(

TIA

m.

ps. IPTC is transferred properly.

----------------------------------------------------
Możesz walczyć jak Pudzianowski!
Sprawdź jak:
http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fobozszkoleniowy.html&sid=945
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.