ID:               12577
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         ClibPDF related
 Operating System: Windows 98
 PHP Version:      4.0.6
 New Comment:

this works just fine for me (on a linux box). it could be that the
win32 version of the clibpdf extension is compiled without jpeg
support.


Previous Comments:
------------------------------------------------------------------------

[2001-08-05 08:21:17] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=12577&edit=1

Reply via email to