Posted: Sat May 14, 2011 2:01 pm Post subject: Faster getPixel() alternative?
Anyone know of a faster method of scanning pixel colors? getPixel() is just way too slow. I am trying to scan a 400x200 retangle and it takes 30+ seconds to complete. _________________
BitBlt() is the fastest possible way. Select a DIB Section into your memory DC, blit the contents of your DC into the memory DC. Like magic, you have all the raw pixel data right there.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum