[pdf_open_image_file]
| From: | Nicolas LEPRINCE | Date: | Mon, 02 Oct 2000 17:04:41 +0000 |
| Subject: | [pdf_open_image_file] | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-2893@lists.php.net to get a copy of this message | ||
(win NT workstation, pws, php4)
pdf_open_image_file function doesn't seem to work with
that simple script :
$fp = fopen("test.pdf", "w");
$pdf = pdf_open($fp);
pdf_begin_page($pdf, 595, 842);
$pim = pdf_open_image_file($pdf, "jpeg", "file.jpg");
pdf_place_image($pdf, $pim, 100, 200, 1);
pdf_close_image($pdf, $pim);
pdf_end_page($pdf);
pdf_close($pdf);
fclose($fp);
I have added the pdf extension in my php.ini file
(php_pdf.dll)
The pdf file is created but without any image inside
Any help ?
Nicolas LEPRINCE
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/