-
GifCodec
参考网上的资料写的gif编解码。
编码用gdi解析常用图片格式,然后组装成gif
解码吧gif的每一帧转换成dib
gif文件格式网上有很多介绍
gif用的变长lzw压缩算法:
没弄懂原理,只知道过程。压缩取一个字符作为后缀,看看字符串是否存在。存在,用对应的编码作为前缀继续取;不存在把字符串添加到字典,前缀添加到输出流,后缀作为前缀继续取。解压取一个编码看看字典中是否存在。存在用对应的字符串的第一个字符作为后缀,看看当前字符串是否存在,不存在添加到字典中,后缀作为前缀,前缀对应的字符串添加到输出流,继续取;编码不存在,前缀对应的字符串的第一个字符作为后缀(这时当前字符串肯定不存在,字典中下一个可用编码肯定等于刚取出的编码),字符串添加到字典中,编码作为前缀,前缀对应的字符串添加到输出流,继续取。
编码流转换成字节流是按位从低到高的,window是小端模式(低字节在低地址),字节内低位在右边。
24位dib转换成8位dib时使用的八叉树算法
图片拉伸时参考的网上的双线性插值算法。
字典满了位数加一,位数是12时不加(Online reference materials written gif codec.
Encoded using gdi resolve common image formats, and then assembled into a gif
Each frame decode it into a gif dib
There are many online gif file format introduced
gif lzw with variable length compression algorithm:
Did not understand the principle, only know the process. Compression takes a character as a suffix, and see if there is a string. Exist as a prefix to continue to take with the corresponding encoding there is no string to add to the dictionary, a prefix added to the output stream, the suffix as a prefix to continue to take. Take a look at extracting coding dictionary exists. Exist with the corresponding first character string as a suffix to see the current string exists, there is no add to the dictionary, the suffix as a prefix, the corresponding string to the output stream, continue to take coding does not exist, prefix corresponding first character string as a suffix (when the current string certainly does not exis)
- 2015-01-17 20:22:25下载
- 积分:1
-
vcFtp
学习网络编程的初学者必看的.(Learning Network Programming Watchable the beginners.)
- 2004-12-06 14:00:15下载
- 积分:1
-
Joker-Hacks-Dayz-Sa
Another Dayz SA hack with script r
- 2016-02-05 14:06:38下载
- 积分:1
-
GPS-data
GPS坐标模拟器,可以模拟移动时坐标的变换。(GPS coordinates simulator that can simulate moving coordinate transformation.)
- 2009-11-14 11:05:18下载
- 积分:1
-
DaVinciEVM_dsp
加载dsp项目时的gel文件,在连接硬件之前,加载gel必不可少,来描述处理器的存储空间映射(The gel loading dsp project files, before connecting the hardware, loaded gel is essential to describe the processor' s memory space mapping)
- 2013-10-31 09:59:35下载
- 积分:1
-
Draw_mfc
MFC消息映射机制的剖析,讲述如何运用ClassWizard(MFC message mapping mechanism analysis, how to use ClassWizard)
- 2013-06-30 16:06:50下载
- 积分:1
-
8051Pproteus-14
《单片机C语言程序设计实训100例——基于8051+Proteus仿真》案例压缩包 第 01 篇 基础部分 14 K1-K4 控制数码管移位显示
(" Microcontroller C Programming Language Training 100 cases- based on 8051+ Proteus simulation" case archive basis of Article 01 part 14 K1-K4 control digital shift display)
- 2011-07-27 21:10:19下载
- 积分:1
-
ARCGISSDK
使用VC++进行ArcGIS二次开发的实习说明书,非常简单通俗,适合初学者参考学习(Use VC++ ArcGIS secondary development internship manual very simple and popular reference for beginners learning)
- 2013-04-02 15:54:00下载
- 积分:1
-
串口通信程序
一个很好的COM口通讯类(An uart mfc example)
- 2020-06-26 10:00:02下载
- 积分:1
-
PLAYER
播放器,能播放几种格式的播放器,只是界面比较简单,(Player, can play several formats player, but the interface is relatively simple,)
- 2007-12-10 12:51:07下载
- 积分:1