is it possible to sample my screen?
-
does anyone know if it is possible to sample an area of my screen, eg every 5 second into my memory for it to be processed?
You're going to have to explain that in quite a bit more detail before you get any kind of useful answer. "Sample"? Define that exactly and what you mean by "process".
A guide to posting questions on CodeProject
How to debug small programs
Dave Kreskowiak -
does anyone know if it is possible to sample an area of my screen, eg every 5 second into my memory for it to be processed?
Yes, it is.
You'll never get very far if all you do is follow instructions.
-
You're going to have to explain that in quite a bit more detail before you get any kind of useful answer. "Sample"? Define that exactly and what you mean by "process".
A guide to posting questions on CodeProject
How to debug small programs
Dave Kreskowiak -
hi, sorry for being ambiguous. what i meant was is it possible to sample the image being displayed on my monitor and process it. eg if my monitor top left pixel is red then a message box will appear saying its red.
Possible, yes. It's quite easy to get a copy of any part of the screen as a Bitmap. Just use Graphics.CopyFromScreen[^].
A guide to posting questions on CodeProject
How to debug small programs
Dave Kreskowiak -
does anyone know if it is possible to sample an area of my screen, eg every 5 second into my memory for it to be processed?
There are two ways of doing this through a single process called a SnapShot. 1. You can capture your entire display area, or 2. by defining a rectangular area on the display area called the ROI (Region Of Interest) There are lots of code samples out there that covers both scenarios. Use Google to search for "How to take a snapshot of my display" or "How to capture an area of my screen". You can then save the memory stream (the captured information will be stored in a memory stream) in a few formats - JPG, TIFF, PNG and BMP.