v

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi!

I'm trying to read pixels, from desktop in windows.I managed to do so by creating DC with NULL pointer, so i gained access. I was able to read color information of pixels, like icons, applications. Problem is, that i can't read any video or not even mouse pointer. i mean when i read a pixel in area, where a mpg is playing, i always get RGB(0,0,0),a black pixel
Am i doing right? Are there better ways to do it? What i wanna do is, to copy part of the screen(pixel by pixel) and send it via RS232 port.

Any suggestions?

thanx
 
Hi

You can read video. Becoz video has been drawn with some library like DirectX when you are using Window Media Player. Even PrintScreen is not working for video. Reading Pixel by Pixel will not work. Just check some Video Capturing example using DirectX
It may work. I am not sure

Regards
Vikas Mishr

----- nandrej wrote: ----

Hi!

I'm trying to read pixels, from desktop in windows.I managed to do so by creating DC with NULL pointer, so i gained access. I was able to read color information of pixels, like icons, applications. Problem is, that i can't read any video or not even mouse pointer. i mean when i read a pixel in area, where a mpg is playing, i always get RGB(0,0,0),a black pixel
Am i doing right? Are there better ways to do it? What i wanna do is, to copy part of the screen(pixel by pixel) and send it via RS232 port.

Any suggestions?

thanx
 
Back
Top