Jump to content

Recommended Posts

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.