Results 1 to 3 of 3

Thread: [2005] Getpixel faster?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2005
    Posts
    1,547

    [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?

  2. #2
    Frenzied Member Phill64's Avatar
    Join Date
    Jul 2005
    Location
    Queensland, Australia
    Posts
    1,201

    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.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2005
    Posts
    1,547

    Re: [2005] Getpixel faster?

    Quote 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
  •  



Click Here to Expand Forum to Full Width