Re: how to use gd library(php4.0.4)
| From: | Josh Lokot | Date: | Thu, 28 Dec 2000 06:36:48 +0000 |
| Subject: | Re: how to use gd library(php4.0.4) | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-1358@lists.php.net to get a copy of this message | ||
The GD Library no longer supports the GIF format due to copyright/licensing
issues.
----- Original Message -----
From: "Thanawat Jirattitikarn" <s0056034@kmitl.ac.th>
To: <php-install@lists.php.net>
Sent: Thursday, December 28, 2000 4:48 PM
Subject: [PHP-INST] how to use gd library(php4.0.4)
>
> I write script that:
>
> <?
> header("Content-type: image/gif");
> $im=ImageCreate(200,100);
> $green=ImageColorAllocate($im,0,255,100);
> $blue=ImageColorAllocate($im,0,0,255);
> ImageLine($im,100,10,150,50,$blue);
> ImageRectangle($im,10,10,80,50,$blue);
> $red=ImageColorAllocate($im,255,0,0);
> ImageString($im,3,15,70,"Rectangle",$red);
> ImageString($im,3,110,70,"Line",$red);
> ImageGif($im);
> ImageDestroy($im);
> ?>
>
> then save name is image.php and I remove comment at php_gd.dll in
> php.ini file and the section extension_dir is c:/php4/extensions,then i
> run the script.It is warning that
>
> Warning: ImageGif: No GIF support in this PHP build in
> c:\apache\htdocs\test\image.php on line 11
>
>
> Can you tell me .. why is it warning? and how to resolve the problem?
>
> thank you..
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>