libtiff4.04

http://www.linuxfromscratch.org/blfs/view/svn/general/libtiff.html

 

安装方法 : 

./configure --prefix=/usr --disable-static &&
make
make install


复制代码
 1 读数据
 2 
 3 stripSize = TIFFStripSize(image);
 4 stripMax = TIFFNumberOfStrips(image);
 5 
 6 for (stripCount = 0; stripCount < stripMax; stripCount++){
 7 if((result = TIFFReadEncodedStrip (image, stripCount,
 8 desc->data + imageOffset, stripSize)) == -1) 
 9 goto error;
10 
11 imageOffset += result;
12 }
复制代码

 




  

 
posted @   chencesc  阅读(344)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示