Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello everyone, I have a problem. I created two programs (client and server) that allow me to view the desktop of a remote pc. The problem is that capturing the screen image quality is too high because the sending of the picture is a bit slow. There would be a way to decrease the image quality? When the images are 32-bit, 8 bits basterebbeanche to me, the important thing is that sending is faster. Thanks everyone!
Posted

You could convert them from Bitmap to a JPG stream:
MemoryStream ms = new MemoryStream()
myImage.Save(ms, ImageFormat.Jpeg)
And then send the stream content.
 
Share this answer
 
hello, but I do not need to save the image, because as soon as I catch once I convert it into bytes and then send it.
 
Share this answer
 
I still have not solved, can not find anything on google that is right for me, nobody has a solution?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900