RE: [PHP] gd can handle only 256 colors?
| From: | Matt McClanahan | Date: | Wed, 20 Dec 2000 17:37:59 +0000 |
| Subject: | RE: [PHP] gd can handle only 256 colors? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31258@lists.php.net to get a copy of this message | ||
On Wed, 20 Dec 2000, indrek siitan wrote:
> Hi,
>
> > AFAIK gd works with gif's
>
> the newer GD's (1.8 and up) don't support gif anymore, due to the
> stoopid licensing policy (how many of you know to and pay $5000
> to Unisys for having a couple of .gifs on your homepage?)
>
> > maybe you should try to generate png images which (I think) use
> > 24 or 32 bits instead of gif.
>
> actually, nope :( GD's PNG support is a lousy hack from gif
> support and hence supports only 256 colours too (although the
> format allows much more).
Which is one of the primary reasons I wrote php_imlib, the ability to use
a respectable number of colors. :) Unfortunately it won't help you if
you're a Windows user.
http://mmcc.cx/php_imlib/
Matt