EXIFTOOL.exe custom command-line arguments?

Advanced Renamer forum
#1 : 06/10-19 17:40
Horshack
Horshack
Posts: 2
Is there a way to specify custom command-line arguments passed to the exiftool invocation? For example I'd like to use the numeric tag value output rather than the printed formatted values (ie, the -n option).

Also, adding support for tag names with the '#' suffix would be nice as well. That allows specifying number output on a per-tag basis in exiftool. For example: <ExifTool:ShutterSpeed#> instead of <ExifTool:ShutterSpeed>.


06/10-19 17:40
#2 : 07/10-19 17:38
Horshack
Horshack
Posts: 2
Reply to #1:
Found a method to do this. To change all tags to not use print conversion (ie, the -n option), create an .ExifTool_Config file in install directory of Advanced Renamer (ie, C:\Program Files (x86)\Advanced Renamer) with the following contents:

%Image::ExifTool::UserDefined::Options = (
PrintConv => 0,
);
1; #end

If you instead want to override individual tags to not use print conversion then use the following example as a template - this example creates a new tag named 'MyShutterSpeed' that has the same value as the standard ShutterSpeed tag but without the print conversion (ie, it will generate 0.0025 instead of 1/400):

%Image::ExifTool::UserDefined = (
'Image::ExifTool::Composite' => {
MyShutterSpeed => {
Require => 'ShutterSpeed',
ValueConv => '$val',
},
},
);


07/10-19 17:38