摘要: 提出了一种基于网格的无损编码方法对Linux 桌面图形序列进行压缩和传输;并采用C/S 模式实现了将Linux 桌面屏幕向Windows平台的传输,其中服务器程序运行于Linux 平台,客户程序运行于Windows 平台,双方利用Socket 进行通信。为了提高数据的传输效率,采用了Huffman 算法和RLE 算法对网格数据进行压缩和解压。实验结果表明,程序运行可靠,能够满足实际应用的需要。
关键词:
Linux;抓取屏幕;图像编码;Huffman 编码;行程编码
Abstract: In order to compress and transmit the Linux desktop graph sequences, a lossless compression arithmetic based on gridding is put forward in this paper. According to this arithmetic, two programs based on Client/Server mode are designed. The server program runs on the Linux platform and captures Linux screen while the client program runs the Windows platform and redisplays the Linux screen. They communicate with each other by means of the Socket. To improve data transmission efficiency, Huffman and RLE algorithms are adopted in this paper. The experimental results show that the programs run reliably and can meet actual application’s demands
Key words:
Linux; Capture screen; Image coding; Huffman encoding; Run length encoding
罗 红,慕德俊. Linux 桌面图形序列的压缩与传输[J]. 计算机工程, 2006, 32(7): 221-223.
LUO Hong, MU Dejun. Compression and Transmission Scheme of Linux Desktop Graph Sequences[J]. Computer Engineering, 2006, 32(7): 221-223.