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
September 2007

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

2007.09.25 09:05 "TIFFClientOpen() fails for fiels with incorrect "ExtraSamples" field.", by Krishna Singh Karki
2007.09.26 01:52 "Re: TIFFClientOpen() fails for fiels with incorrect "ExtraSamples" field.", by Frank Warmerdam

2007.09.25 09:05 "TIFFClientOpen() fails for fiels with incorrect "ExtraSamples" field.", by Krishna Singh Karki

Hi All,

I am using TIFF library version 3.8.2 and I am facing problem opening
certain scanned tiff files.

I am using TIFFClientOpen() function to read tiff files. For a test tiff
file, I get a warning message 

incorrect count for field "ExtraSamples" (0, expecting 1); tag ignored. and
then the above call to TIFFClientOpen() returns NULL.

I looked at tiff sources and the warning is thrown from CheckDirCount()
function in tif_dirread.c() function. Since the above message indicates a
warning on debugging I saw that it will always fail in above case. 

Is this a known issue?  Is it due to the file being corrupt value for tag?

thanks in advance
-Krishna

_________________________________________________________________
More photos; more messages; more whatever – Get MORE with Windows Live™
Hotmail®. NOW with 5GB storage.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_5G_0907