Bug #12577: cpdf_import_jpeg() not working at all
| From: | robert at scpallas dot de | Date: | Sun, 05 Aug 2001 12:21:17 +0000 |
| Subject: | Bug #12577: cpdf_import_jpeg() not working at all | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-62142@lists.php.net to get a copy of this message | ||
From: robert@scpallas.de
Operating system: Windows 98
PHP version: 4.0.6
PHP Bug Type: ClibPDF related
Bug description: cpdf_import_jpeg() not working at all
I wrote a script using the cpdf_* functions and everything is working
fine.
Only the cpdf_import_jpeg() function does not produce any output at all.
There is no error message.
I called the function like this:
$pdf = cpdf_open(0);
cpdf_page_init($pdf,1,0,842,595,1);
cpdf_import_jpeg($pdf,"image.jpg",10,10,0,300,109,0,0,1);
cpdf_finalize($pdf);
Header("Content-type: application/pdf");
cpdf_output_buffer($pdf);
cpdf_close($pdf);
The pdf-file does not show anything.
Thanks,
Robert Grellmann
--
Edit bug report at: http://bugs.php.net/?id=12577&edit=1