RE: [PHP-WIN] R: [PHP-WIN] Image generation question
| From: | Matt Babineau | Date: | Wed, 24 Apr 2002 16:23:00 +0000 |
| Subject: | RE: [PHP-WIN] R: [PHP-WIN] Image generation question | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13283@lists.php.net to get a copy of this message | ||
I don't think so, I looked in my php folder and I cannot find the DLL
Richard Black said I needed.
Matt Babineau
Freelance Internet Developer
e: mbabineau@illuminatistudios.com
p: 603.943.4237
w: http://www.illuminatistudios.com
-----Original Message-----
From: Darvin Andrioli [mailto:darvin.andrioli@caricese.it]
Sent: Wednesday, April 24, 2002 12:23 PM
To: Matt Babineau; 'Php-Win (E-mail)'
Subject: [PHP-WIN] R: [PHP-WIN] Image generation question
Do you have enabled the GD extension ?
Darvin
> -----Messaggio originale-----
> Da: Matt Babineau [mailto:matt@criticalcode.com]
> Inviato: mercoledi 24 aprile 2002 18.02
> A: 'Php-Win (E-mail)'
> Oggetto: [PHP-WIN] Image generation question
>
>
> I have been trying to generate images dynamicall but I keep getting
> this message.
>
> Fatal error: Call to undefined function: imagecreatefrompng() in
> D:\wwwroot\counter\img.php on line 5
>
> Here is my code:
>
> <?php
> // set up image
> //$height = 200;
> //$width = 200;
> $im = imagecreatefrompng("$Image1.png");
> $black = ImageColorAllocate($im, 0, 0, 0);
>
> // draw string
> ImageString($im, 4, 15, 15, "000001", $black);
>
> // output image
> Header("Content-type: image/png");
> ImagePNG($im);
>
> // destroy img
> ImageDestroy($im);
> ?>
>
>
> Matt Babineau
> Freelance Internet Developer
> e: <mailto:mbabineau@illuminatistudios.com>
> mbabineau@illuminatistudios.com
> p: 603.943.4237
> w: <http://www.illuminatistudios.com/>
http://www.illuminatistudios.com
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php