-
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
-
OutlookGUI
一个OutLook的界面实现。
(an interface to achieve.)
- 2007-06-05 20:52:22下载
- 积分:1
-
MiniDll
一段vc++的dll的编程代码,主要通过dll访问并口,通过并口收发数据(section of the dll vc programming code, mainly through dll visit Parallel, through the parallel port data transceiver)
- 2006-09-01 10:29:23下载
- 积分:1
-
DIT-RTU-80SWv1.0
深圳东深公司的RTU软件,界面相当友好,做RTU的必看!(the RTU software of DONGSHEN company of ShenZhen city ,surface is very friendly,is nessary to people )
- 2012-05-02 21:46:18下载
- 积分:1
-
ntfsrdusr
说明: 直接调用NTFS文件驱动检测隐藏文件 绕过hook终极武器(NTFS file driver detected a direct call to bypass the hook ultimate weapon hidden files)
- 2010-03-21 17:29:16下载
- 积分:1
-
network_report
计算机网络的实验报告和源码,包含聊天软件的源玛(An experimental computer network reports and source code, including chat software source ma)
- 2009-01-03 16:51:44下载
- 积分:1
-
DuiLib-v1.1-for-vc2005
非常优秀的界面库,完全可以实现QQ界面效果。(very good ui library.)
- 2012-09-29 14:52:43下载
- 积分:1
-
AttitudeInstrument
使用C# GDI+开发的基本飞行数据仪表,包括高度、速度和飞行姿态。(Use in C# GDI+ development of basic flight data instruments, including altitude, speed and flight attitude.)
- 2020-09-27 09:47:45下载
- 积分:1
-
Mapx开发实例(vc++ gps跟踪)
vc++ 开发 GIS 与 GPS ,提供在线首发GPS定位信息,显示坐标点,轨迹回放,GIS地图放大、缩小、选种等等操作。(vc development of GIS and GPS, the first online GPS signal coordinates, track intervals, GIS maps to zoom, selection, etc. operation.)
- 2020-06-26 10:00:01下载
- 积分:1
-
Draw
说明: 改程序可画一个扇形(MFC)
改程序可画一个扇形(MFC)
改程序可画一个扇形(MFC)(The program is to draw a sector)
- 2011-03-08 20:22:11下载
- 积分:1