Hi,
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($p df, $logo);
If someone could give me some insight on what might be the problem would be
greatly appriciated.
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($p df, $logo);
If someone could give me some insight on what might be the problem would be
greatly appriciated.