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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Mar 28 16:01:29 2024 UTC