我爱Aspx >> Asp.Net >> 上面提到的原代码(C语言)—1上面提到的原代码(C语言)—1
thur Xuntan
This sample program shows how to decode a ssreader image file
Based on xuntan@#s reverse engineer work.
Gif writing function is not included
*/
#include <stdio.h>
#include <math.h>
#include "gif.h"
typedef struct {
int width;
int height;
unsigned char * data;
}
myimg,*pmyimg;
int huffman1();
int huffman2();
int GetNextBit();
void MyImageDestory(pmyimg p);
pmyimg ReadMyImageHead(char * fname);
void DecodeMyImage(pmyimg img);
void ScaleMyImage(pmyimg,int neww);
void WriteGifFile(pmyimg image);
void CropMyImage(pmyimg image);
void Error(char *);
/* Global Variable*/
FILE * fimg;
unsigned int bdata;
int len=16;
int buf1[1024];
Ҷƪл˵?
Huffman with Short dictionary压..[05-31]
给贝贝的,Base64编码(带有Q和B..[05-31]
C#的BinaryTree实现[05-31]
LinkedQueue的实现[05-31]
将字符串中的数字和字符分离的技..[05-31]
呵呵,泼点儿凉水。[05-31]
密码的故事 (ST:MS,Author:Billy..[05-31]
关于字符窜和数字分离[05-31]
如何获得一个6位长随机数[05-31]
给你一个MD5算法[05-31]