Read image pixel by pixel
Posted: Mon Aug 03, 2009 11:13 am
Hi
Can you please tell me an method to read image pixel by pixel?
Ta
Can you please tell me an method to read image pixel by pixel?
Ta
Code: Select all
Public Declare Function GetPixel _
Lib "gdi32" (ByVal hdc As Long, _
ByVal x As Long, _
ByVal y As Long) As Long
Public Declare Function SetPixelV _
Lib "gdi32" (ByVal hdc As Long, _
ByVal x As Long, _
ByVal y As Long, _
ByVal crColor As Long) As Long