Add metadata to a PDF using Wicked PDF

I use Wicked PDF to create PDF from HTML. I saw this SO question about adding metadata to a PDF file and suggests using XMP metadata. How to use Wicked PDF to add XMP metadata to generated PDF?

+4
source share
2 answers

If you are creating an original document using shrimp, as you say, just use the attribute infoto set the metadata you need. See the manual and find :info. I'm not sure what you mean when you say that Wicked PDF adds a title. PDF documents have no names (although sections and subsections may be in outline). See this discussion, for example .

0
source

If you cannot add metadata directly using WickedPDF, you can try using a different library to add metadata after creating the PDF file (two-step process).

SO, PDFtk, : fooobar.com/questions/801997/....

0

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


All Articles