>From pdf.c:
--------------------------------------------
#if HAVE_LIBGD13
/* {{{ proto int pdf_open_memory_image(int pdf, int image)
Takes an GD image and returns an image for placement in a PDF document
*/
PHP_FUNCTION(pdf_open_memory_image)
{
--------------------------------------------
This "HAVE_LIBGD13" is missing in the pdf.dsp file.
But is the gd extension build by default for Windows binaries?
--Jani
On 2 May 2001 [EMAIL PROTECTED] wrote:
>From: [EMAIL PROTECTED]
>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
>
>
>
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]