ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: StarGeek on May 14, 2021, 05:41:43 PM

Title: Suggestion for the convert_regions.config file
Post by: StarGeek on May 14, 2021, 05:41:43 PM
The tag names in the convert_regions.config (https://github.com/exiftool/exiftool/blob/master/config_files/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',
);
Title: Re: Suggestion for the convert_regions.config file
Post by: Phil Harvey on May 15, 2021, 06:20:03 AM
Sounds good.

- Phil
Title: Re: Suggestion for the convert_regions.config file
Post by: Phil Harvey on May 28, 2021, 09:41:18 AM
This update will appear in ExifTool 12.27

- Phil