Replacing color



Hi there !...
I'd like to replace a "pattern color" by another one but I don't really know
how to do this :)

My problem :
I have objects with color associated to them.
I load a template PNG file (the same for every objects), with black pixels
where I want to specify "colored" region corresponding to my object. When I
"display" my object, I'd want to have the template image displayed, with the
"black pixels" replaces by the color corresponding to my object :)
Is this possible without dealing with a "pixel by pixel" algorithm ?

Thanks in advance :)
-- 
View this message in context: http://www.nabble.com/Replacing-color-tf2378891.html#a6629494
Sent from the Gtkmm mailing list archive at Nabble.com.




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