note 10531 added to ImageGIF
| From: | dafokka at gmx dot net | Date: | Tue, 09 Jan 2001 13:05:38 +0000 |
| Subject: | note 10531 added to ImageGIF | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9515@lists.php.net to get a copy of this message | ||
The author of libGD didn't omit GIF support without a reason. Since UniSys patented the
compression algorithm you're not allowed to use it unless you pay UniSys. I know that a lot of
sites still use .GIF, but the author probably wanted to prevent a legal hassle. PNG is superior to
.GIF anyway, the only drawback is that it isn't as widely supported as GIF. But JPEG is, and
that does work with libGD (although it's worse at displaying icons and the stuff you'll
probably want to generate with libGD).
http://www.php.net/manual/function.imagegif.php