go-pdf / fpdf

A PDF document generator with high level support for text, drawing and images
MIT License
548 stars 48 forks source link

Import existing pdf to use as template (ideally multiple pages) #19

Closed 0xfourzerofour closed 2 years ago

0xfourzerofour commented 2 years ago

Could you give an example of how we can import an existing pdf to add extra data to it.

e.g. I would like to import a document and add signatures to it based on signature input images and x,y,w,h location

sbinet commented 2 years ago

go-pdf/fpdf doesn't have (yet?) facilities to read PDFs.

AFAIK, the best library right now to do that is:

0xfourzerofour commented 2 years ago

@sbinet thank you for letting me know, I will have a look at those libraries!