Page 1 of 1

Does -resample update the XMP profile

Posted: 2009-10-01T08:20:39-07:00
by axelrose
Hello,

just wondering whether I can expect IM updating the XMP profile when using the -resample operation.

As a demonstration:

# create a 150dpi TIFF file
convert rose: -units PixelsPerInch -density 150x150 rose.150.tif
# insert XMP Profile data for resolution
exiftool -XMP:XResolution=150 -XMP:YResolution=150 rose.150.tif
# check success of exiftool update
exiftool -XMP:XResolution -XMP:YResolution rose.150.tif
X Resolution : 150
Y Resolution : 150

# now resample to 75dpi:
convert 150dpi.tif -resample 75x75 75dpi.tif
# and check for updated XMP profile
exiftool -XMP:XResolution -XMP:YResolution rose.75.tif
X Resolution : 150
Y Resolution : 150

I would update the XMP data myself if IM does not do this for.
In case IM would do this I'd wait for a fix.


Thanks for your time
Axel

Re: Does -resample update the XMP profile

Posted: 2009-10-01T09:45:34-07:00
by magick
ImageMagick updates a few fields in the EXIF profile but we have not gotten around to updating the XMP fields. Its on our list of things to do with no current ETA.