Page 1 of 1

Some logic questions - remote screen cap

Posted: Tue Jun 03, 2008 12:41 am
by ignign0kt
I want to start working on a remote screen capture program (it will be plugin for another client/server application). The app provides me with a SendData function for me, so I don't have to really worry about the networking part of my program.
I can figure out how to capture screenshots, that's not really what I'm confused about. How would I send an image through a network? The provided SendData function just sends a pointer to where the data is. But I wouldn't know how to get an image from memory with the pointer. Could someone maybe help me through the logic steps of a program that captures the screen, compresses it (JPEG), and sends it to the client.
And how would I go about uses different JPEG compressions? I'd like for the program to have configurable compression (using a quality percentage or something). I also don't want to use any external libraries for any of this...
Help appreciated.

Posted: Tue Jun 03, 2008 1:00 am
by netmaestro

Posted: Tue Jun 03, 2008 2:54 am
by ignign0kt
So I could basically just send the image pointer to the client, and use CatchImage to read the image from data?
What about JPEG compression and manipulation? (resizing, reducing quality, changing amount of bits, etc)