Replacing one color with another
| From: | Andrei Stebakov | Date: | Fri, 04 May 2007 12:24:03 +0000 |
| Subject: | Replacing one color with another | ||
| Groups: | php.gd.devel | ||
| Request: | Send a blank email to php-gd-devel+get-189@lists.php.net to get a copy of this message | ||
I was wondering if there is a way to replace one color for another in an
image? Let's say I have an image with a white background and a number of
solid color figures (circles) in say red color. I need to replace those red
circles into black ones. If not gdlib, could you suggest a way I can go
here?
Thank you,
Andrew