-
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
-
huaweinetPDF
华为网络工程师培训专用教程(PDF) 华为网络工程师培训专用教程(PDF) (Huawei Network Engineer Training Private Tutorial (PDF) Huawei Network Engineer Training Private Tutorial (PDF))
- 2010-05-08 15:16:01下载
- 积分:1
-
Zgda2
说明: 随着业务的不断发展,公司员工的不断增加,职工档案及工资的管理已经成为公司管理中的重要部分,传统的管理制度已经不能有效地管理员工的情况。本系统是为了方便职工档案的管理而开发的基于Visual C++的数据库应用软件。(With the continuous development of business, the continuous increase of employees, the management of employees' archives and wages has become an important part of the management of the company. The traditional management system can not effectively manage the situation of the employees. This system is a database application software developed on the basis of Visual C++ for the convenience of staff files management.)
- 2018-04-28 10:49:37下载
- 积分:1
-
twobarcode
二维码生成案例 VS2008 C#
可以选择 4种生成条形码的参数 目前不支持中间加图案
- 2012-12-21 15:04:56下载
- 积分:1
-
1234
轻松获得计算机网络接口信息的一个软件。记忆visual c++(Easy access to information on a computer network interface software. Memory visual c++)
- 2011-07-22 16:40:46下载
- 积分:1
-
MapX45Setup
mapx4.5,程序不大,可以用,内部没有地图,矢量地图要仔细,里面没有地图(Mapx4.5, program is not big, can be used, internal without maps, vector map carefully, there is no maps
)
- 2013-05-02 23:39:17下载
- 积分:1
-
toCstring
将不同格式的数据转换成cstring格式,很方便,文件存在txt文件中(different data format conversion cstring format, is a convenient, the paper documents exist txt)
- 2006-09-27 18:16:45下载
- 积分:1
-
MOTIONTEST(opencv)
目前发现最好的一个移动目标检测,同时已经转换为VS2010项目,并成功测试,用USB摄像头,检测移动物体,基于opencv(Discover the best one currently moving target detection, and has been converted to a VS2010 project and successfully tested with USB camera to detect moving objects, based on opencv)
- 2013-09-05 23:52:15下载
- 积分:1
-
6240720
scport for monting your pc s port usage!(Scport for monting your PC s port usage!)
- 2017-06-02 05:03:16下载
- 积分:1
-
71477213StuMis
说明: 学生信息管理 学生信息管 (Student Information Student Information Management tube)
- 2008-10-27 19:49:38下载
- 积分:1