| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2006.01.11 08:57 "Re: Problem closing TFF file : First Chance exception", by <tub95@wanadoo.fr>Hello,
I think it's not the problem because my tiff file is correctly open.
It's correctly open because i can do for example (to know the tiff file
resolution) :
float resolution;
TIFFGetField(in,TIFFTAG_YRESOLUTION,&resolution);
I obtain the good result (196) in "resolution"
Furthermore, i added your example :
TIFF *in;
in = TIFFOpen("temp.tif","r");
if (!in)
exit(1);
TIFFClose(in);
When i debug, it's specified that TIFF pointer "in" is not NULL and i have
the same error on the instruction TIFFClose : First-Chance exception in
test.exe (NTDLL.DLL) : 0x0000008 : Invalid Handle
Have you an other idea ?
Thanks,
Thibaut
|
|||||||