Re: brain damage in the gd ext [was: Re: [PHP-DEV] GD version available in script ?]
| From: | Roman Neuhauser | Date: | Tue, 12 Nov 2002 11:59:16 +0000 |
| Subject: | Re: brain damage in the gd ext [was: Re: [PHP-DEV] GD version available in script ?] | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90852@lists.php.net to get a copy of this message | ||
# derick@php.net / 2002-11-12 12:51:37 +0100:
> 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?
Uh, 4.2.2, obviously. I missed it in NEWS in HEAD, sorry, and thanks
for fixing it!
--
If you cc me or take the list(s) out completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html