Hi, I am not convinced .ExifTool_config has been successfully "used" by Exiftool (its a comment on my confidence in what I have done.)
I naively wrote a print statement in the .ExifTool_config file, hoping to see it get executed.
snippett below:
%Image::ExifTool::UserDefined = (
'Image::ExifTool::XMP::Main' => {
Camera => {
SubDirectory => {
TagTable => 'Image::ExifTool::UserDefined::Camera',
},
},
},
);
print "initialized";
%Image::ExifTool::UserDefined::Camera = (
GROUPS => { 0 => 'XMP', 1 => 'XMP-Camera', 2 => 'Camera' },
NAMESPACE => { 'Camera' => 'http://pix4d.com/camera/1.0/' },
WRITABLE => 'string',
Yaw => { Writable => 'real' },
I saw nothing :(
Any suggestions on how this might work either with a print statement or some other way?
Thanks!
It looks like your config file is incomplete. %Image::ExifTool::UserDefined::Camera = ( section doesn't have a closing paren.
That was a snippet, and I split parentheses - sorry.
I guess my question is what clues do I have that the .ExifTool_config has been loaded without writing user-defined xmp tags?
I am new to writing user-defined tags and I can't tell if my tag writing is bad or if my definition of custom tags is wrong.
This is my problem:
C:\AV GIS\Dole_tests>exiftool -config "c:\exif_tool\.ExifTool_config" -xmp:yaw="66.66" IMG_000756_RGB.jpg
Warning: Undefined XMP namespace: avi - IMG_000756_RGB.jpg
0 image files updated
1 image files unchanged[/tt][/tt]
This was just one of my attempts to make this work, so I explicitly used the config switch at the beginning of the cmd and put the value 66.66 in quotes in a desperate attempt at making this work.
Thanks,
See FAQ 11 (https://exiftool.org/faq.html#Q11)
Yes - thanks!