[Image-SIG] Colorize an image

Joey Marshall marshallpenguin at gmail.com
Tue Jan 2 22:02:09 CET 2007

I am having a difficulty with developing my game. I would like to
colorize the outfits on my penguins
(http://joey101.net/projects/snowballz/). I have them separated out to
make it easier to colorize... but I haven't been able to figure out
how to.

I already have PIL as a dependency for snowballz so I would like to
use it, but there is nothing in PIL to do this easily. Does anyone
know how to colorize an image? (all images are (RGBA) in red and I
would like to be able to use a color like: (0,0,255) to colorize it

Any help would be awesome.


http://joey101.net - my blog on web development

More information about the Image-SIG mailing list