In section on Fl_Image::color_average() fltk docs contain this cryptic notice:
"The original image data is not altered by this method."
What exactly does this mean?

I'm working on a code where images (loaded from files) are average()'d with 
some color on mouse over, and the code would be more elegant if there was a way 
to un-average the image and get back the original, as opposed to loading the 
image again from disk. But I can't find such a method :( I tried doing 
color_average(somecolor, 1.0) but image is unchanged, color_average() seems to 
be cumulative. Is there a method to create a new image from some other 
image->data() ?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to