php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #30836 Call to undefined function: cpdf_place_inline_image()
Submitted: 2004-11-19 13:26 UTC Modified: 2005-01-14 07:17 UTC
From: Peter dot Albertsson at naturesown dot se Assigned:
Status: Closed Package: Documentation problem
PHP Version: 5.0.2 OS: WinXP SP2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Peter dot Albertsson at naturesown dot se
New email:
PHP Version: OS:

 

 [2004-11-19 13:26 UTC] 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()

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-12 23:48 UTC] tony2001@php.net
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.

 [2005-01-14 07:17 UTC] irchtml@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Sep 11 09:00:01 2025 UTC