Bug #10606 Updated: function pdf_open_memory_image undefined function
| From: | sniper@php.net | Date: | Wed, 09 May 2001 15:15:42 +0000 |
| Subject: | Bug #10606 Updated: function pdf_open_memory_image undefined function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54502@lists.php.net to get a copy of this message | ||
ID: 10606
Updated by: sniper
Reported By: Yann.Barrault@yahoo.fr
Old-Status: Open
Status: Critical
Bug Type: *PDF functions
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
Another reminder for the Windows binaries builder..
The pdf.dsp should have HAVE_LIBGD13 1 in it?
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-05-02 08:14:22] Yann.Barrault@yahoo.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:webessaipdfnew.php on line 6
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10606&edit=2