Waynn Lue
Waynn Lue

Reputation: 11385

Adding metadata to PDF generated using Wicked PDF

I'm using Wicked PDF to generate a PDF from HTML. I've seen this SO question on adding metadata to a PDF, and it suggests using XMP metadata. How can I use Wicked PDF to add XMP metadata to a generated PDF?

Upvotes: 4

Views: 1224

Answers (1)

James Mason
James Mason

Reputation: 4306

If you can't add metadata directly with WickedPDF, you might try using another library to add the metadata after the PDF is generated (a two step process).

I found an SO answer that suggests PDFtk might be able to do that: https://stackoverflow.com/a/18536830/473691.

Upvotes: 0

Related Questions