AW: [PHP] Replacing colors in an image?

From: Date: Sun, 01 Jul 2001 16:30:47 +0000
Subject: AW: [PHP] Replacing colors in an image?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55748@lists.php.net to get a copy of this message
Thanks i will test it. -----Ursprüngliche Nachricht----- Von: Gyozo Papp [mailto:pgerzson@freestart.hu] Gesendet: Sonntag, 1. Juli 2001 18:26 An: timtaubert@web.de Betreff: Re: [PHP] Replacing colors in an image? Hello, If you 'd like to change/replace only one colour / image, you might use transparent GIFs or PNG, as far as i remember PNG pictures have this transparency feature. So, you create a transparent image and put it into an arbitrary HTML tag specified with desired background colour. or you can change the palette of the pictures, but don't ask how to do it! I'm not familiar with the internals of any image format. hope this helps, Papp Gyozo - pgerzson@freestart.hu ----- Original Message ----- From: "Tim Taubert" <timtaubert@web.de> To: "PHP Mailingliste" <php-general@lists.php.net> Sent: 2001. július 1. 18:11 Subject: [PHP] Replacing colors in an image? > is it possible to create an image on a website and then to replace colors or > parts of this image with another color? > > imagine we have a left and a right part. they're both white at the > beginning. now i randomly choose a color and now the right part becomes > green and the left part red... > > is it possible? > > please feel free of my mistakes - i'm German ;) > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#55748) next »