On Sat, 2004-12-11 at 08:29, Bill Kendrick wrote: > I've created three new Magic tools tonight: > > Darken - Opposite of Fade
It seems to me that "darken" should be the opposite of "lighten", and "fade" should change only saturation. > Cartoon - (Still needs work) Makes the image look like a cartoon (vs. real) That's a weird one. I was thinking of doing this as a whole-image operation. It's kind of pointlessly destructive as a concept though. In any case, my idea for an algorithm: 1. do an edge detect (in color) 2. threshold that, to just black and white 3. trace the lines with a black brush (now it looks like the chicken and jet starters) 4. flood-fill each white area with the right color The color for each flood-fill is determined from the original image. It is the average (linear RGB) color, or a gradient determined by a best-fit slope. _______________________________________________ Tuxpaint-dev mailing list [EMAIL PROTECTED] http://tux4kids.net/mailman/listinfo/tuxpaint-dev