|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-04-09 17:37 UTC] jimw@php.net
[2002-07-07 20:01 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 27 18:00:01 2025 UTC |
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