cpdf_import_jpeg() doesn't show input
| From: | janbro at web dot de | Date: | Mon, 16 Feb 2004 12:47:31 +0000 |
| Subject: | cpdf_import_jpeg() doesn't show input | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-177795@lists.php.net to get a copy of this message | ||
Hi,
I've got ClibPDF working soemhow,
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($cpdf, 1, 0, 842, 594, 1.0);
cpdf_import_jpeg($pdf,"image.jpg",10,10,0,300,100,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.
If I google All I find is the manual 10.000 times but no answer to my problemes, please
help
______________________________________________________________________________
Nachrichten, Musik und Spiele schnell und einfach per Quickstart im
WEB.DE Screensaver - Gratis downloaden: http://screensaver.web.de/?mc=021110