• λ我爱Aspx >> Asp.Net >> 上面提到的原代码(C语言)—1
  • 上面提到的原代码(C语言)—1

  • :aspxer  Դ:internet  :2007-5-31 2:20:14  ؼ:
  • 上面提到的原代码(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];

    Ҷƪл˵?
  • һƪ上面提到的原代码(C语言)—2
    һƪHuffman with Short dictionary压缩算法(VB.NET Source)