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
October 2006

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

2006.10.14 12:59 "SamplesPerPixel is 0 when loading image", by Marcel Wiesweg
2006.10.14 13:29 "Re: SamplesPerPixel is 0 when loading image", by Anurag Singh
2006.10.14 13:46 "Re: SamplesPerPixel is 0 when loading image", by Toby Thain
2006.10.14 14:53 "Re: SamplesPerPixel is 0 when loading image", by Anurag Singh
2006.10.14 21:22 "Re: SamplesPerPixel is 0 when loading image", by Toby Thain
2006.10.14 17:52 "Re: SamplesPerPixel is 0 when loading image", by Joris Van Damme
2006.10.15 15:18 "Re: SamplesPerPixel is 0 when loading image", by Gilles Caulier
2006.10.17 01:48 "Re: SamplesPerPixel is 0 when loading image", by Joris Van Damme
2006.10.14 22:36 "Re: SamplesPerPixel is 0 when loading image", by Joris Van Damme
2006.10.14 22:42 "Re: SamplesPerPixel is 0 when loading image", by Toby Thain
2006.10.14 22:56 "Re: SamplesPerPixel is 0 when loading image", by Joris Van Damme

2006.10.14 14:53 "Re: SamplesPerPixel is 0 when loading image", by Anurag Singh

> > But why are you calling this function TIFFGetFieldDefaulted(tif,
> > TIFFTAG_SAMPLESPERPIXEL, &samples_per_pixel) to know about sampleperpixel.
>
> Because that tag may be omitted (default value is 1) - see spec.

yeah . i have seen spec, but we are using libtiif here, so we have to see
this function only

int TIFFDefaultDirectory(TIFF* tif),  Act the point is this libtiff take
care of it, if tag is not present then it always return default value for
important tags such as for samplesperpixel.

If you don't believe then you can check it.

Anurag Singh