With these results, your monitor is probably set to 16-bit depth. Set to 32-bit you will get 'expected' results.i've these resultinstead of rgb(255, 000, 000) getPixel return rgb(248, 000, 000) " rgb(000, 255, 000) " " rgb(000, 248, 000) " rgb(000, 000, 255) " " rgb(000, 000, 248) and so on for every pure colors likes rgb(255, 255, 000) even rgb (255, 255, 255) --> white is return as rgb(248, 248, 248)
See James Newton's book for an excellent explanation. Quote: "In 16-bit color, the highest value for each primary color is 31. The value of 248 comes from 31 x 8. For 16-bit colors, rgb(248, 248, 248) means white."
-Sean.
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]