Bug #10606 Updated: function pdf_open_memory_image undefined function

From: Date: Fri, 11 May 2001 23:51:04 +0000
Subject: Bug #10606 Updated: function pdf_open_memory_image undefined function
Groups: php.dev 
Request: Send a blank email to php-dev+get-54923@lists.php.net to get a copy of this message
ID: 10606 Updated by: jmoore Reported By: Yann.Barrault@yahoo.fr Old-Status: Critical Status: Closed Bug Type: PDF related Operating system: PHP Version: 4.0.5 Assigned To: Comments: 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 Previous Comments: --------------------------------------------------------------------------- [2001-05-09 11:15:42] sniper@php.net Another reminder for the Windows binaries builder.. The pdf.dsp should have HAVE_LIBGD13 1 in it? --Jani --------------------------------------------------------------------------- [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

« previous php.dev (#54923) next »