php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10606 function pdf_open_memory_image undefined function
Submitted: 2001-05-02 08:14 UTC Modified: 2001-05-11 19:51 UTC
From: Yann dot Barrault at yahoo dot fr Assigned:
Status: Closed Package: PDF related
PHP Version: 4.0.5 OS: Windows 98 SE
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: Yann dot Barrault at yahoo dot fr
New email:
PHP Version: OS:

 

 [2001-05-02 08:14 UTC] Yann dot Barrault at yahoo dot fr
I use PHP 4.0.5 and Apache 1.3.12

My script :
<?
$pdf=pdf_new();
$im = ImageCreate(100, 100);
$col = ImageColorAllocate($im, 80, 45, 190);
ImageFill($im, 10, 10, $col);
$pim = PDF_open_memory_image($pdf, $im);
ImageDestroy($im);
PDF_place_image($pdf, $pim, 100, 100, 1);
PDF_close_image($pdf, $pim);
?>

The server's answer :

Fatal error: Call to undefined function: pdf_open_memory_image() in c:\web\essaipdfnew.php on line 6

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-09 11:15 UTC] sniper@php.net
Another reminder for the Windows binaries builder..
The pdf.dsp should have HAVE_LIBGD13 1 in it?

--Jani

 [2001-05-11 19:51 UTC] jmoore@php.net
Fixed in CVS (kinda) It now returns correct error when function isnt there... just a question of the person who builds the binaries having the correct libs avalible (and altering config.w32.h correctly.

- James
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 08 05:01:28 2024 UTC