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 @ 2015-08-05 19:38  chencesc  阅读(338)  评论(0编辑  收藏  举报