exiftool AGOACCno extract error in XMP format

Started by vijayamin, July 28, 2017, 04:21:12 AM

Previous topic - Next topic

vijayamin

Dear Team,

Getting the issue while extracting the XMP:AGOACCno for the TIF image through command line. Actually, AGOACCno should be like this "2014/100" but it return the devided integer value 20.14,

I use the following commands to extract XMP data.

exiftool -xmp -b AGO.114690.tif > test1.xmp
exiftool -json -b AGO.114690.tif > test1.json

Please let me know solution for this.

Thanks,
Vijay

Phil Harvey

Hi Vijay,

By default, ExifTool will automatically convert values of unknown XMP tags that look like dates or rational numbers.  To disable this conversion, set the XMPAutoConv API option to 0:

exiftool -api XMPAutoConv=0 ...

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).