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?
PDF supports XMP metadata. You should add your plugin information as a payload in the XMP part.
, PDF , pdftk . PDF, , pdftk dump_data, , , pdftk update_info , .
The easiest way to do this is to simply add the information as text at the end of the pdf file.
Source: https://habr.com/ru/post/1525879/More articles:How to avoid automatic closing (, {, [in a custom Sublime Text 3 snippet? - autocompleteSQLAlchemy case insensitive IN search query? - pythonДобавление метаданных в PDF с использованием Wicked PDF - ruby-on-railsHow can I get the title of a .pdf document as the page title? - htmlrsync deleted files via ssh to my local machine using sudo privileges on the local side and my ssh private key is sshQualcomm QPST Automation Server in Python 2.7 using win32com module - pythonAndroid / Phonegap: kill webview on background transition instead of keepRunning = false - androidhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1525883/using-an-adapter-to-marshal-a-class-to-a-root-element-with-moxy-or-any-other-jaxb-implementation&usg=ALkJrhgEMLmiSLO2SfM3br2hjQQXnImUMQHow to set min & max range in JPGraph and how to set colors for lines crossing a horizontal line? - phpNetSuite and / or filter - netsuiteAll Articles