AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.05.31 19:41 "hot to detect corrupt tif file", by Gordon Hu
2005.05.31 23:46 "Re: hot to detect corrupt tif file", by Bruno Ledoux
2005.05.31 23:52 "Re: hot to detect corrupt tif file", by Edward Lam
2005.05.31 23:56 "Re: hot to detect corrupt tif file", by Andy Cave
2005.06.01 00:02 "Re: hot to detect corrupt tif file", by Bob Friesenhahn
2005.06.01 00:11 "Re: hot to detect corrupt tif file", by Andy Cave
2005.06.01 00:45 "Re: hot to detect corrupt tif file", by Bob Friesenhahn
2005.06.01 00:50 "Re: hot to detect corrupt tif file", by Andy Cave
2005.06.01 01:02 "Re: hot to detect corrupt tif file", by Bob Friesenhahn
2005.06.02 13:21 "Re: how to detect corrupt tif file", by Gordon Hu
2005.06.02 15:11 "Re: how to detect corrupt tif file", by <melser.anton@gmail.com>
2005.06.02 15:38 "Re: how to detect corrupt tif file", by Edward Lam
2005.06.02 15:50 "Re: how to detect corrupt tif file", by <melser.anton@gmail.com>

2005.05.31 23:46 "Re: hot to detect corrupt tif file", by Bruno Ledoux

Hi Gordon,

Not sure exactly what you mean by "corrupt tiff file".

If you want to check that the CONTENT of a TIFF file hasn't been altered,
you will have to use an external CRC method like MD5 as there is no such
thing as a checksum in the TIFF format.

If you want to determine the file format , you can use
TIFFOpen("file_to_check","r"). If it returns NULL it means the file is NOT a
TIFF file. If you want to perform more detailed checks it going to be more
complex considering the number of different tag formats.

HTH,

Bruno.