RE: [PHP] GD, problem adding text to GIF images
| From: | Vail, Warren | Date: | Thu, 16 Dec 2004 19:27:27 +0000 |
| Subject: | RE: [PHP] GD, problem adding text to GIF images | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-204532@lists.php.net to get a copy of this message | ||
I believe that is the nature of GIF images, I seem to recall they were very
compact but limited to a maximum of 16 colors (or 32 or some number like
that[maybe 64]), fewer colors that JPEG. Anyone know exactly?
Warren Vail
> -----Original Message-----
> From: Juan Nin [mailto:juanin@gmail.com]
> Sent: Thursday, December 16, 2004 10:20 AM
> To: php-general@lists.php.net
> Subject: [PHP] GD, problem adding text to GIF images
>
>
> Hi,
>
> I'm adding text to images using the native gd in PHP 4.3.9
>
> I have no problems with jpg images, but with gif ones, the
> colour of the text added to the image always results a dark
> grey The image itself and text are fine, but not the colour,
> which should be white..
>
> Has anyone experienced this problem?
>
> Used functions are:
>
>
> imagecreatefromgif
> imagettftext
> imagegif
>
>
> Thanks in advance,
>
> Juan
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>