Does -resample update the XMP profile
Posted: 2009-10-01T08:20:39-07:00
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
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