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 }