本文介绍了图像质量缩放VB.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我有问题.我创建了两个程序(客户端和服务器),使我可以查看远程PC的桌面.问题在于捕获屏幕图像质量太高,因为图片的发送有点慢.有没有办法降低图像质量?当图像对我来说是32位,8位时,重要的是发送速度更快.谢谢大家!

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!

推荐答案

MemoryStream ms = new MemoryStream()
myImage.Save(ms, ImageFormat.Jpeg)

然后发送流内容.




这篇关于图像质量缩放VB.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 21:03