ExifTool Forum

ExifTool => Developers => Topic started by: herb on October 08, 2020, 05:02:20 AM

Title: user defined date or time tags
Post by: herb on October 08, 2020, 05:02:20 AM
Hello Phil,

With post about -xmp-dwc:eventtime https://exiftool.org/forum/index.php?action=post;topic=11377.0;last_msg=62383 (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
Title: Re: user defined date or time tags
Post by: Phil Harvey on October 08, 2020, 07:47:56 AM
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