Do you have a question? Post it now! No Registration Necessary. Now with pictures!
March 20, 2005, 5:44 pm
rate this thread
i'm trying to open an image in PDF but always get the same error:
"Fatal error: pdf_open_image_file():  PDF_open_image_file: Tried to
allocate 0 or negative number of bytes in function pdf_grow_images in
/web/main/do.php on line 3"
$pdf = pdf_new();
$logo = pdf_open_image_file($pdf, "jpeg", "test.jpg", "", 0);
pdf_place_image($pdf, $logo, 28, 324, 0.125);
If someone could give me some insight on what might be the problem would be