user defined date or time tags

Started by herb, October 08, 2020, 05:02:20 AM

Previous topic - Next topic

herb

Hello Phil,

With post about -xmp-dwc:eventtime https://exiftool.org/forum/index.php?action=post;topic=11377.0;last_msg=62383 i got a better understanding about handling of date and time tags/values by Exiftool.

Now defining such a tag in the config-file is it possible to access a "perl formatting routing" in any Exiftool module or do I have to write my own formatting with ValueConv[Inv] and/or PrintConv[Inv] from scratch.

I think about something like
user-defined tag
  PrintConv => 'ExiftoolModul::Perlroutine-defined by Exiftool'


Thanks for your comments in advance
herb

Phil Harvey

Hi Herb,

I recommend looking at the PrintConv values in the ExifTool source code.  You can do anything in your config file that is done in the source code.

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