PDF metadata

I want to be able to store some data related to the plugin in PDF format so that I can read it back when this PDF file is loaded, without this metadata visible to the user.

How can I put this metadata in a PDF file?

+2
source share
3 answers

PDF supports XMP metadata. You should add your plugin information as a payload in the XMP part.

+2
source

, PDF , pdftk . PDF, , pdftk dump_data, , , pdftk update_info , .

+1

The easiest way to do this is to simply add the information as text at the end of the pdf file.

0
source

Source: https://habr.com/ru/post/1525879/


All Articles