文件名称:NetTran
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Windows] [Visual C] [Basic/ASP] [源码]
- 上传时间:
- 2013-03-25
- 文件大小:
- 130kb
- 下载次数:
- 0次
- 提 供 者:
- 霍**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
(利用GIF_LZW算法实现的)网络图片传输
一、使用TCP协议传输数据。理由:稳定性好。
二、使用字节数据流进行传输,理由:
A:VB的String存在自动Unicode转换问题,影响速度;
B:可以直接发送8位字节数据,不需要使用Base64编码,从而减少了编码时间。
三、使用GIF-LZW压缩算法压缩图像。理由:
A:行程编码、Huffman压缩算法压缩率太低;
B:JPEG压缩算法需要太多位运算,且运算量大(有专门MMX优化算法),不利于VB实现;
C:GIF-LZW压缩算法压缩率较好,且我已想出VB语法下高效GIF-LZW压缩/解压算法。
四、使用“有序抖动”算法进行 色彩量化。理由:“有序抖动”处理的结果具有一定规律性,有助于LZW类算法压缩。-(Using GIF_LZW algorithm) network picture transmission one, use the TCP protocol to transfer data. Reasons: good stability. Second, the use of byte data stream for transmission reasons: A: VB' s String automatic Unicode conversion problem exists, impact speed B: You can directly send 8 bytes of data, do not need to use Base64 encoding, thereby reducing the encoding time. Third, the use of GIF-LZW compression algorithm to compress the image. Rationale: A: run-length encoding, Huffman compression algorithm compression rate is too low : JPEG compression algorithm requires too many bit operations, and the large amount of computation (specifically MMX optimization algorithm), and not conducive to the realization of VB C: GIF-LZW compression algorithm The compression ratio is better, and I have come up with the VB syntax efficient GIF-LZW compression/decompression algorithm. Ordered dithering algorithm for color quantization. The reason: " ordered dithering" the results of trea
一、使用TCP协议传输数据。理由:稳定性好。
二、使用字节数据流进行传输,理由:
A:VB的String存在自动Unicode转换问题,影响速度;
B:可以直接发送8位字节数据,不需要使用Base64编码,从而减少了编码时间。
三、使用GIF-LZW压缩算法压缩图像。理由:
A:行程编码、Huffman压缩算法压缩率太低;
B:JPEG压缩算法需要太多位运算,且运算量大(有专门MMX优化算法),不利于VB实现;
C:GIF-LZW压缩算法压缩率较好,且我已想出VB语法下高效GIF-LZW压缩/解压算法。
四、使用“有序抖动”算法进行 色彩量化。理由:“有序抖动”处理的结果具有一定规律性,有助于LZW类算法压缩。-(Using GIF_LZW algorithm) network picture transmission one, use the TCP protocol to transfer data. Reasons: good stability. Second, the use of byte data stream for transmission reasons: A: VB' s String automatic Unicode conversion problem exists, impact speed B: You can directly send 8 bytes of data, do not need to use Base64 encoding, thereby reducing the encoding time. Third, the use of GIF-LZW compression algorithm to compress the image. Rationale: A: run-length encoding, Huffman compression algorithm compression rate is too low : JPEG compression algorithm requires too many bit operations, and the large amount of computation (specifically MMX optimization algorithm), and not conducive to the realization of VB C: GIF-LZW compression algorithm The compression ratio is better, and I have come up with the VB syntax efficient GIF-LZW compression/decompression algorithm. Ordered dithering algorithm for color quantization. The reason: " ordered dithering" the results of trea
(系统自动生成,下载前可以参看下载内容)
下载文件列表
测试\客户端\Clent.csi
....\......\Clent.vbp
....\......\Clent.vbw
....\......\Form_Main.frm
....\......\MSSCCPRJ.SCC
....\服务器端\Form_main.frm
....\........\MSSCCPRJ.SCC
....\........\工程1.csi
....\........\工程1.lvw
....\........\工程1.vbp
....\........\工程1.vbw
远程桌面传输控件\CByteStream.cls
................\FrmMain.frm
................\FrmMain.frx
................\FrmSet.frm
................\mBase.bas
................\mBit.bas
................\MSSCCPRJ.SCC
................\NetGIFTran.ctl
................\NetGIFTran.ctx
................\NetPicTran.csi
................\NetPicTran.exe
................\NetPicTran.lvw
................\NetPicTran.vbp
................\NetPicTran.vbw
................\ReadMe.txt
CByteStream.cls
mBase.bas
mBit.bas
MSSCCPRJ.SCC
NetGIFTran.ctl
NetGIFTran.ctx
NetTran.csi
NetTran.exp
NetTran.lib
NetTran.lvw
NetTran.oca
NetTran.ocx
NetTran.vbp
NetTran.vbw
REG.BAT
工程1.exp
工程1.lib
测试\客户端
....\服务器端
测试
远程桌面传输控件