Re: brain damage in the gd ext [was: Re: [PHP-DEV] GD version available in script ?]
| From: | Derick Rethans | Date: | Tue, 12 Nov 2002 11:51:37 +0000 |
| Subject: | Re: brain damage in the gd ext [was: Re: [PHP-DEV] GD version available in script ?] | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90850@lists.php.net to get a copy of this message | ||
On Tue, 12 Nov 2002, Derick Rethans wrote:
> On Tue, 12 Nov 2002, Roman Neuhauser wrote:
>
> > Everyone: the fact that e. g. imagecreatefromgif() exists no matter
> > what, throwing a warning if you have a wrong GD version is IMNSHO
> > utterly dumb. The fact that it limits the number of bogus PRs
> > doesn't justify the breakage it forces into one's code.
> >
> > Could someone please fix this?
>
> I thought I fixed all of this some months ago already... Will have a
> look.
It's all fixed, see:
#ifdef HAVE_GD_GIF_READ
PHP_FE(imagecreatefromgif, NULL)
#endif
and:
#if HAVE_LIBGD20
PHP_FE(imagecreatetruecolor, NULL)
PHP_FE(imagetruecolortopalette, NULL)
So what are you referring to exactly?
Derick
--
---------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions
--------------[ if you hold a unix shell to your ear, do you hear the c? ]-