I'm making a program that can find a certain color of pixel in an image. I have two "for" loops, for rows and columns, and I use GetPixel to get the pixel color. However, on large images this can be quite slow. Is there any better way?
Well you could try using GetDIBits to read the whole image in one go into an array of your choice, then your for loops only have to iterate over the array.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.