|
-
Sep 10th, 2006, 08:19 AM
#1
Thread Starter
Frenzied Member
[2005] Getpixel faster?
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?
-
Sep 10th, 2006, 08:25 AM
#2
Re: [2005] Getpixel faster?
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.
-
Sep 10th, 2006, 08:27 AM
#3
Thread Starter
Frenzied Member
Re: [2005] Getpixel faster?
 Originally Posted by Phill64
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|