Page 1 of 1

PHP 4.x and GD 2.0 Win32 server. NO GIF SUPPORT????

Posted: Wed Jan 29, 2003 8:14 pm
by bznutz
Ok, I got that png has been taken over gifs, but what the hell do we do if we have no choice but to work with gifs?
BTW, I am running this on WinXP Pro...

Posted: Wed Jan 29, 2003 9:34 pm
by kcomer
older versions of gd support gif's, find one of those. I don't know what this entails on windows though.

Posted: Wed Jan 29, 2003 10:11 pm
by bznutz
kcomer wrote:older versions of gd support gif's, find one of those. I don't know what this entails on windows though.
Gee, thanks.

Posted: Thu Feb 27, 2003 2:12 am
by dbcooper
If you haven't already solved your problem, you might want to check out the PHP ImageMagick interface (imagick). Its available on PEAR:

http://pear.php.net/package-info.php?pacid=76

Its still in beta. However, I've been using it under RH 7.2 and haven't experienced any serious issues with it. From the description on the PEAR page, a pre-compiled Windows (DLL) extension may be available.

Since its built on ImageMagick (http://www.imagemagick.org/), it supports up to 87 major image formats (http://www.imagemagick.org/www/formats.html), including GIFs. It will not output compressed GIFs, but it is able to write uncompressed GIFs.

IMHO, if you're trying to process existing images in PHP and want support for more than JPEGs, its a better alternative than GD.

-db

Posted: Thu Feb 27, 2003 7:22 am
by pootergeist
The unisys patent on the LZW compression algorythm runs out this year, so GD should resupport that format pretty soon.

Any application that outputs compressed gifs has to pay unisys at the moment - thus many open sourced projects have simply dropped it. If you can, I'd try using pngs from the word go.