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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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”.