Bug #10606: function pdf_open_memory_image undefined function
| From: | Yann dot Barrault at yahoo dot fr | Date: | Wed, 02 May 2001 12:14:22 +0000 |
| Subject: | Bug #10606: function pdf_open_memory_image undefined function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53315@lists.php.net to get a copy of this message | ||
From: Yann.Barrault@yahoo.fr
Operating system: Windows 98 SE
PHP version: 4.0.5
PHP Bug Type: *PDF functions
Bug description: function pdf_open_memory_image undefined function
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
--
Edit Bug report at: http://bugs.php.net/?id=10606&edit=1