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:
- Zend_Pdf class: which worked nicely for pdf version 1.5 or less. but had an error on parsing pdf of version 1.6
- pdflib: not sure how i can edit an existing pdf file.
- tcpdf: same problem that i couldn't find the functions for editing the existing pdf
- someone also suggested just edit the pdf file by adding the following(for an example, title) to the end of the pdf file:
/Title (Title Text)
i would still wish to be able to do it using pdflib
or some free source php libraries to achieve this.