cajun67 Posted August 8, 2007 Share Posted August 8, 2007 I have a client who has a PDF file that they want to be modifiable; basically, they want their users to be able to upload a logo and insert it into a specific place in the PDF file and then download it. I know PHP has some PDF functions but I think this goes beyond the scope of what's in PHP. How would I accomplish this? ??? Quote Link to comment https://forums.phpfreaks.com/topic/63918-modifying-pdfs-through-php/ Share on other sites More sharing options...
effigy Posted August 8, 2007 Share Posted August 8, 2007 pdf_fit_image? Quote Link to comment https://forums.phpfreaks.com/topic/63918-modifying-pdfs-through-php/#findComment-318574 Share on other sites More sharing options...
php_tom Posted August 8, 2007 Share Posted August 8, 2007 Is your PDF (the one you're sticking the uploaded logo into) dynamically generated (by PHP PDF functions) or is it just a static PDF file on the server somewhere? Maybe you can post a link to a sample of the PDF, what you're trying to do. Quote Link to comment https://forums.phpfreaks.com/topic/63918-modifying-pdfs-through-php/#findComment-318612 Share on other sites More sharing options...
Psycho Posted August 8, 2007 Share Posted August 8, 2007 pdf_fit_image? Can that be used to modify an existing PDF? If not, you could use PHP to rebuild the original PDF - if that's too much work you could convert the original PDF to an image; then use PHP to create a new PDF and place the image of the original image and then place the new image. Or you could even utilize postscript and a server-side distiller. Quote Link to comment https://forums.phpfreaks.com/topic/63918-modifying-pdfs-through-php/#findComment-318626 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.