I'm using PDFlib library PHP to write PDF.
Can I put an image as a background for a whole page? If so, how can I do it?
I'm using PDFlib library PHP to write PDF.
Can I put an image as a background for a whole page? If so, how can I do it?
Copyright © 2021 Jogjafile Inc.
In general you should do something like this:
If you do this before placing the text in the PDF you will get it as background image.
You may have a look at http://www.pdflib.com/pdflib-cookbook/images/ for more image related examples and check chapter 7.3 in the documentation "PDFlib-tutorial.pdf".