I have a request from a client which requires me to process pdf files they upload. They upload pdf files and I search the pdf files for certain patterns and am supposed to add specific watermarks under certain conditions. Is there a way via php to open a pdf file, and add the background image and save it upon uploading?
Example:
Uploaded pdf file contains the word “Hello”.. (add a smiley face background to pdf pages)
Uploaded pdd file contains “hey!” (add company logo as background for pdf pages)
Greatly appreciate your input! Thank you.
Yes you can with FPDF and this add-on http://www.fpdf.de/downloads/addons/9/