ID:               30836
 Updated by:       [EMAIL PROTECTED]
 Reported By:      Peter dot Albertsson at naturesown dot se
 Status:           Open
-Bug Type:         ClibPDF related
+Bug Type:         Documentation problem
 Operating System: WinXP SP2
 PHP Version:      5.0.2
 New Comment:

cpdf_place_inline_image() is available only if PHP was compiled with GD
1.3.x.
Making it documentation problem, as it should be stated somewhere in
the docs.



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

[2004-11-19 13:26:54] Peter dot Albertsson at naturesown dot se

Description:
------------
I get a fatal error:

Fatal error: Call to undefined function: cpdf_place_inline_image()

even though php_cpdf.dll is loaded and other cpdf functions are
working.


Reproduce code:
---------------
$cpdf = cpdf_open(0);
cpdf_page_init($cpdf, 1, 0, 842, 595, 1.0);
$logo = imagecreatefromgif(dirname(__FILE__) .
'/gfx/scandinavia_logo.gif');
cpdf_place_inline_image($cpdf, $logo, 50, 700, 0, imagesx($logo),
imagesy($logo), 0);

Actual result:
--------------
Fatal error: Call to undefined function: cpdf_place_inline_image()


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30836&edit=1

Reply via email to