Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - image reg
Search - image reg - List
一、使用TCP协议传输数据。理由:稳定性好。 二、使用字节数据流进行传输,理由: A:VB的String存在自动Unicode转换问题,影响速度; B:可以直接发送8位字节数据,不需要使用Base64编码,从而减少了编码时间。 三、使用GIF-LZW压缩算法压缩图像。理由: A:行程编码、Huffman压缩算法压缩率太低; B:JPEG压缩算法需要太多位运算,且运算量大(有专门MMX优化算法),不利于VB实现; C:GIF-LZW压缩算法压缩率较好,且我已想出VB语法下高效GIF-LZW压缩/解压算法。 四、使用“有序抖动”算法进行 色彩量化。理由:“有序抖动”处理的结果具有一定规律性,有助于LZW类算法压缩。-First, use the TCP protocol to transmit data. Reason: better stability. Two, the use of byte data stream for transmission, the reasons: A: VB s String existence automatic Unicode conversion question, effects of speed B: can directly send 8-bit byte data, Does not need to use Base64 encoding, thereby reducing the encoding time. Three, the use of GIF-LZW compression algorithm for image compression. Rationale: A: Run-Length Coding, Huffman compression algorithm compression ratio is too low B: JPEG compression algorithm required too many bit computing, and computing a large quantity (MMX has specialized optimization algorithm), VB is not conducive to implementation C: GIF-LZW compression algorithm compression ratio is better, and I have come up with efficient under VB grammar GIF-LZW compression/decompression algorithm. Four, use the "orderly jitter" algorithm for color quantization. Rationale: "orderly jitter" must deal with the results of reg
Date : 2025-12-22 Size : 53kb User : whoamixp
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.