Simple Bitmap Question

yo, sry but there is no getpixel :(

this is what i have:

Private Sub mainform_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseUp

Dim bmpc As Bitmap()
bmpc.getpixel() <-- -doesnt exist.. not in the list

End Sub

sry, but can u pleasee gimme specic instructions
 
You could try something like:
Code:
Dim bmpc As New Bitmap("C:\bmpc.bmp")
Dim pixelColor As Color = bmpc.GetPixel(e.X, e.Y)

        If pixelColor.G = 255 Then     or whatever your value is  
            etc
 
Bmp.GetPixel(10,10);

It is in my list. Put 10,10 in the parenthesis and see if it compiles.
 
Back
Top