AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2009.01.12 15:49 "[Tiff] In which case does TIFFOpen complains about "Cannot open"", by Shoujie He
2009.01.12 16:22 "Re: [Tiff] In which case does TIFFOpen complains about "Cannot open"", by Frank Warmerdam

2009.01.12 16:22 "Re: [Tiff] In which case does TIFFOpen complains about "Cannot open"", by Frank Warmerdam

Anyone knows why TIFFOpen complains "Cannot open"

TIFFOpen: Filename: Cannot open

Shoujie,

It looks like you passed the literal string "Filename" as the filename. Are you sure a file named this actually exists in the file system?

There are many reasons TIFFOpen might fail to open a file. Permissions, file not existing, illegal mode string, out of memory, etc.

Best regards,
--
---------------------------------------+--------------------------------------

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam

and watch the world go round - Rush    | Geospatial Programmer for Rent