Suggestion for the convert_regions.config file

Started by StarGeek, May 14, 2021, 05:41:43 PM

Previous topic - Next topic

StarGeek

The tag names in the convert_regions.config aren't very clear and to use them, you would have to look through the config file to figure out which one to use.  I'd suggest making them more obvious and adding shortcuts so as not to break existing scripts.

For example
MyRegion->MPRegion2MWGRegion
MyRegion2->IPTCRegion2MWGRegion
MyRegionMP->MWGRegion2MPRegion
MyRegionMP2->IPTCRegion2MPRegion
MyRegionIPTC->MWGRegion2IPTCRegion
MyRegionIPTC2->MPRegion2IPTCRegion

And the shortcut section
%Image::ExifTool::UserDefined::Shortcuts = (
MyRegion => 'MPRegion2MWGRegion',
MyRegion2 => 'IPTCRegion2MWGRegion',
MyRegionMP => 'MWGRegion2MPRegion',
MyRegionMP2 => 'IPTCRegion2MPRegion',
MyRegionIPTC => 'MWGRegion2IPTCRegion',
MyRegionIPTC2 => 'MPRegion2IPTCRegion',
);
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

...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 ($).

Phil Harvey

This update will appear in ExifTool 12.27

- 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 ($).