Some logic questions - remote screen cap

Windows specific forum
ignign0kt
User
User
Posts: 59
Joined: Thu Sep 21, 2006 9:09 pm

Some logic questions - remote screen cap

Post 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.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8452
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

BERESHEIT
ignign0kt
User
User
Posts: 59
Joined: Thu Sep 21, 2006 9:09 pm

Post 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)
Post Reply