Thread: Screen Grabber.

  1. #1
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005

    Screen Grabber.

    Hi, I've created a screen grabber which captures the current image on the screen, but it's really slow. It basically shuffles through every pixel on the screen, which can be 786,432 pixels for a 1024*768 resolution it can take a number of minutes to complete using GetPixel()!

    Logic tells me that the content of the screen must be stored somewhere, as it doesn't take 4 minutes to refresh each time

    I was just wondering if anyone knows where this info might be stored? Would it be somewhere in the graphics card or what? If anyone knows, passing on the knowledge would be greatly appreciated!!!


  2. #2
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Seattle, WA
    I suspect anonytmouse's solution is quicker than yours (but possibly not as quick as you need):
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Render text
    By Livijn in forum C++ Programming
    Replies: 6
    Last Post: 07-06-2007, 03:32 PM
  2. Feedback: Functional Specification Wording
    By Ragsdale85 in forum C++ Programming
    Replies: 0
    Last Post: 01-18-2006, 04:56 PM
  3. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 10:18 PM
  4. i am not able to figure ot the starting point of this
    By youngashish in forum C++ Programming
    Replies: 7
    Last Post: 10-07-2004, 02:41 AM
  5. Converting from Screen to World Coordinates
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 05-11-2004, 12:51 PM