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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
bznutz
Forum Commoner
Posts: 58
Joined: Mon Dec 09, 2002 9:52 pm
Location: Here
Contact:

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

Post 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...
kcomer
Forum Contributor
Posts: 108
Joined: Tue Aug 27, 2002 8:50 am

Post by kcomer »

older versions of gd support gif's, find one of those. I don't know what this entails on windows though.
User avatar
bznutz
Forum Commoner
Posts: 58
Joined: Mon Dec 09, 2002 9:52 pm
Location: Here
Contact:

Post 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.
dbcooper
Forum Newbie
Posts: 7
Joined: Tue Jan 14, 2003 4:06 am

Post 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
pootergeist
Forum Contributor
Posts: 273
Joined: Thu Feb 27, 2003 7:22 am
Location: UK

Post 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.
Post Reply