Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


i'm trying to open an image in PDF but always get the same error:
"Fatal error: pdf_open_image_file(): [1910] 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);
pdf_close_im($pdf, $logo);

If someone could give me some insight on what might be the problem would be
greatly appriciated.

Site Timeline