Open nicmeriano opened 4 years ago
I also would like to be able to define custom xmp-pdfx attributes to PDF files. I have been able to do it from command line, but would be interested if it was natively by node.
Having the following configuration for exifTool saved at ./exiftool.config:
%Image::ExifTool::UserDefined = (
'Image::ExifTool::XMP::pdfx' => {
Categories => { },
},
'Image::ExifTool::PDF::Info' => {
Categories => { List => 'string' },
},
);
1; #end
exiftool -config ./exiftool.config -xmp-pdfx:categories="test" -pdf:categories="test" ./somePdfFile.pdf
Please take a look at my repo. I hope it'll solve your problem Link: https://github.com/anasshakil/metadata
Is there a way to define custom xmp tags through a config file?