well is there anyway to get into an array every 5th pixel on the screen so its basicly capturing a grid? the getpixel api is way to slow and takes a long time to do this, is there any faster .net way?
Printable View
well is there anyway to get into an array every 5th pixel on the screen so its basicly capturing a grid? the getpixel api is way to slow and takes a long time to do this, is there any faster .net way?
Unfortunetly the provided get and set pixel functions are terribly slow. But if you are willing to do it in C# check out project doomsharp on these forums, the authors have used unsafe code and setup pointers directly to bitmap objects to update pixels much faster than typical gdi.
ok i will give it a look.Quote:
Originally Posted by Phill64