
Why the RGB value I get from Getpixel() is different from the value from the bit
Also, if there is a mapping mode involved, the "pixel" of the bitmap may not correspond to
any pixel of the screen. I've never investigated the impact of color-correction systems,
either. And are you sure you have the same pixel? I'd try some calibrated tests with, for
example, large bands of color of known size (e.g., 10 pixels wide) and try to see if there
is an off-by-something error in the coordinates as well. Otherwise the analysis below is
pretty much what I would have offered.
joe
Quote:
>Here I can tell some of my experiences.
>1) It could be dependent on your display settings.
>2) When in de{*filter*} mode, it could not return color in
>actual client coordinate, since the image does not show.
>3) Maybe relating to the bitmap structure, which I could
>not elaborate.
>>-----Original Message-----
>>Why the RGB value I get from Getpixel() is different from
>>the value from the bits of the bitmap. I compare the rgb
>>value of the pixel gotton from Getpixel() and the
>>corresponding rgb value of the same pixle stored in the
>>bitmap.they are some diifference ,
>>why
>>.
Joseph M. Newcomer [MVP]
Web: http://www.*-*-*.com/ ~newcomer
MVP Tips: http://www.*-*-*.com/ ~newcomer/mvp_tips.htm