There appears to be some problems in this algorithm. I'm certainly no colour
expert, but the weak point seems to be in:

>2. take a color pick of some point that has to be gray (say: 123 / 115 / 139)

How can you know that this colour is supposed to be grey, and not a gray with
a tint of blue, for instance? The problem is finding what is supposed to be
exactly gray :-)

The other problem seems to be that you'll lose some precision, but hopefully
it's not more than a bit or perhaps two.

For the UI adjustments, I'll leave that to the others :-)

/* Steinar */
Homepage: http://members.xoom.com/sneeze/

Reply via email to