我需要在'C'中创建一个在各种平台上编译的小型远程桌面软件(linux,freebsd,windows ...)我一直在寻找各种图像格式一段时间,但还是没能想出一个好主意,使用它们,现在,这里是我做的:在不同平台上流式传输桌面以提高速度
1. Convert All Formats into Windows Bitmap (XImage,...etc)
2. Do a byte-to-byte comparion and replace the identical bytes with zeros
3. Preform a RLE (Run Length Encoding) on the Resulted data.
4. Transmit the Packet to the Server
5. Inverse the Operation on the Server by Reconstructing the Image through the previous image (Comparing Last Image with the New one Discarding Zero Bytes after RLE)
但是这往往是非常缓慢的,因为位图图像格式有很大的文件已经因为它不包含压缩,而在Mac OS X等平台上,由于分辨率非常高,因此位图大小非常大。
有什么更快更好的方法来做桌面流?
我猜是功课吗? – IanNorton 2012-02-14 07:36:53
为什么不使用开源的VNC? – 2012-02-14 07:37:36
没有作业,即时编码作为跳跃 – 2012-02-14 12:52:45