RE: GD, problem adding text to GIF images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx] 
> Sent: Thursday, December 16, 2004 10:20 AM
> To: php-general@xxxxxxxxxxxxx
> Subject:  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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux