just use the .net image classes, create a new raster () x 2 and look at the values โโof R and G and B of each pixel, you can also look at the values โโof A (alpha / transparency) if you want to determine the difference.
also note, using the getPixel (y, x) method can be significantly slower, there is another way to get the whole image (less elegant) and for each of them through it, if I remember that it was called getBitmap or something similar, look in image / raster image classes and read some theta that they really are all you need and that are not so difficult to use, do not send a third party if you do not need.
Erx_VB.NExT.Coder
source share