getpixel code in vb.net
.NET (Core and Framework)
4
Posts
4
Posters
0
Views
1
Watching
-
hello,I want a code on get pixel from scanned image and want to read that pixel to find whether it is black or white..thank you :)
-
hello,I want a code on get pixel from scanned image and want to read that pixel to find whether it is black or white..thank you :)
-
hello,I want a code on get pixel from scanned image and want to read that pixel to find whether it is black or white..thank you :)
Bitmap
has aGetPixel
function returning the color of that pixel:System.Drawing.Bitmap bitmap = new System.Drawing.Bitmap(...); System.Drawing.Color color = bitmap.GetPixel(42, 42);
-
Bitmap
has aGetPixel
function returning the color of that pixel:System.Drawing.Bitmap bitmap = new System.Drawing.Bitmap(...); System.Drawing.Color color = bitmap.GetPixel(42, 42);
If you're going to look at more than a very small number of pixels, you do not want to use
GetPixel
. It is very slow! See these CodeProject search results[^] for better ways to do this!