ICSeqCompressFrame(this.pp,0,data,ref key,ref size); 对应的解压缩API原形是什么?各位

解决方案 »

  1.   

    ICDecompress
    http://www.cnblogs.com/yerlu/articles/701199.html
      

  2.   

    楼上的,我用这个方法,怎么解压出来没有成功啊?
    //IntPtr r=(IntPtr)ICSeqCompressFrame(this.pp,0,data,ref key,ref size);
    byte[] b=new byte[size];
    Marshal.Copy(r,b,0,(int)size);
    return b;
    b有值啊 压缩应该成功if(this.hic==0)
    return null;
    byte[] c=new byte[this._out.bmiHeader.biSizeImage];
    try
    {
        int i=ICDecompress(this.hic,0,ref this._in.bmiHeader,data,ref this._out.bmiHeader,c);
    }
    catch
    {
    }
    return c;
    c怎么没个字节都是0 啊!?
      

  3.   

     int i=ICDecompress(this.hic,0,ref this._in.bmiHeader,data,ref this._out.bmiHeader,c); 
    的data为b