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:[EMAIL PROTECTED] 
> Sent: Thursday, December 16, 2004 10:20 AM
> To: [EMAIL PROTECTED]
> 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
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to