2010.06.15 16:51 "[Tiff] Can't read BigTIFF image using most basic codes", by Jing Han

2010.06.15 16:51 "[Tiff] Can't read BigTIFF image using most basic codes", by Jing Han

Hi guys,

I just installed Ubuntu 10.04 and it has libtiff 3.9.2 already. But I downloaded 4.0.0beta and installed it under /usr/local

Then I use NetBeans to create my first project with following codes

int main (int argc, char** argv)
{
    cout << "Hello World!" << endl;

    TIFF* tif;

    tif = TIFFOpen( "Zen.btf", "r" );

    if ( tif == NULL )
        cout << "can't read BigTIFF file" << endl;
    else
        TIFFClose(tif);

    return 0;
}

    Passed compile and also run correctly except it couldn't read in *.btf

files that I downloaded from " http://www.remotesensing.org/libtiff/bigtiffdesign.html"

Any ideas from you guys who have successfully worked with BigTIFF files?

Thanks a lot. Hope to see some responses for my very first post here.

Ginger