salter@magnus.acs.ohio-state.edu (John E Salter) (06/26/91)
I using Visual Basic to analyze Pixel Colors of a small 16 color bitmap. The VB function that I am using is "Point" which returns the RGA color of a Pixel point. This looks like the GetPixel function in the SDK. Point is reporting the same RGB value for two different Colors. One is orange and the other is Red. It returns Red ("FF") for both. I am sure this problem is due to my lack of understanding of VGA colors on the PC with windows. Where can I learn more about this topic? Thanks.
ebergman@isis.cs.du.edu (Eric Bergman-Terrell) (06/26/91)
Are you sure that the pixels are of different colors? Windows uses "dithered" colors by drawing pixels of different colors close together. So even though a rectangle might appear purple, individual points might be of different colors... Terrell