Hi I am trying to add some new tags to Personalized in PDF file,
I tried editig the .exiftool_config but I manage only to create new tags in XMP
Can anyone give me an idea how to add those new tags to PDF Group?
Thnks
F.
Interesting. I would probably suggest adding custom XMP tags to PDF. But if you really want to create new native PDF tags, they go in the Info dictionary:
%Image::ExifTool::UserDefined = (
'Image::ExifTool::PDF::Info' => {
TestTag => { },
},
);
1; # end
To figure out this on your own, you would have to look at the PDF tag name documentation (https://exiftool.org/TagNames/PDF.html) or the source code for the PDF module (http://cpansearch.perl.org/src/EXIFTOOL/Image-ExifTool-8.77/lib/Image/ExifTool/PDF.pm).
- Phil
Perfect Phil,
Thanks for your quick answer.
It worked fine.
Exactly what I wanted to achieve.
The reason for that is that it is easily viewed in any Acrobat Reader in the Personalized tab.