Quote:
Originally Posted by Monsterman22
Bitmap.GetPixel returns such values as
-1
-330010
-1457575
etc .They don't look like RGB 
|
As mentioned in the help file, Bitmap.GetPixel1 returns a color, not RGB values:
"Syntax: GetPixel1 (x As Int32, y As Int32) As Color"
You can convert a color to RGB with:
Code:
Dim Type (R,G,B) clr
clr() = GetRGB(Bitmap.GetPixel1(x,y))
Msgbox("Red=" & clr.R & " Green=" & clr.G & " Blue=" & clr.B)
specci48