amites Posted December 6, 2007 Share Posted December 6, 2007 Hello, Is there a function available in PDFlib that can load a generated image into a PDF? I keep getting the error so far I've tried: //(error string expected) $pdf_image = pdf_open_image_file($pdf, "png", $image, "", $pdf_page); //(error unsupported) $pdf_image = PDF_open_memory_image($pdf, $image); (error string expected) $pdf_image = pdf_load_image($pdf,"png",$image,""); in this example $pdf is the PDF I am creating, $image is the image I have created in png format... any ideas? Link to comment https://forums.phpfreaks.com/topic/80488-place-created-image-into-pdf/ Share on other sites More sharing options...
Barand Posted December 6, 2007 Share Posted December 6, 2007 Don't double post. You already have a thread on this topic. Read the forum guidelines. Link to comment https://forums.phpfreaks.com/topic/80488-place-created-image-into-pdf/#findComment-408217 Share on other sites More sharing options...
Recommended Posts