Results 1 to 6 of 6

Thread: Compare pixel range on screen to a saved image

Hybrid View

  1. #1
    Fanatic Member BlindSniper's Avatar
    Join Date
    Jan 2011
    Location
    South Africa
    Posts
    865

    Re: Compare pixel range on screen to a saved image

    There is no easy way that I know of. What I would do is Use the graphics.copyfromscreen and save it to a bitmap. I Use lockbits to get an array of Integers or bytes and compare it with the image that I already have of the error screen. This whole operation shouldn't take very long so it should be ideal.
    Last edited by BlindSniper; Dec 1st, 2011 at 11:57 AM.

    Useful CodeBank Entries of mine
    Expand Function
    Code Compiler
    Sudoku Solver
    HotKeyHandler Class

    Read this to get Effective help on VBForums
    Hitchhiker's Guide to Getting Help at VBF

Tags for this Thread

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