Screen Capture through Winsock
Posted on 2003-02-26
I know there are many / many examples out there of different ways to grab screen captures through API, keyboard commands, etc...
However, I am creating an application for remote assistance that will need to work slightly differently, in that it will be the server controlling the client and receiving screen captures of the client. I currently have a version that is capturing the screen as a BMP to a file and then reading that file and killing it, sending the data to the other computer, which stores it as a file, reads it and then kills and displays it.
My problems are, that this seems to be more work than is necessary. Are there any quick ways to create a smaller footprint to transfer without having to write it to file on one or both ends? I would rather send them as JPG's since, the BMP file is coming in at over 4MB!
Also, is there a way to capture the data and send directly through winsock and then put it directly into the picture/image box control without having to save the file and call loadimage?
Thanks in Advance on this one!
I'll add more points for a really helpfull answer!