Reputation: 51
I have some PDF
files, on pdf version 1.6.
i have been trying the following libraries to edit the metadata of these pdf files:
/Title (Title Text)
i would still wish to be able to do it using pdflib
or some free source php libraries to achieve this.
Upvotes: 4
Views: 4792
Reputation: 86
PDFlib cannot edit an existing file, but you can copy the content of an existing file to a new file and read the metadata from the import document, change it and then write it to the new document.
is an example showing parts of this approach.
Upvotes: 3