AWARE [SYSTEMS]
AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
November 2018

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
Archive maintained by AWare Systems



New Datamatrix section



Valid HTML 4.01!



Thread

2018.11.13 14:14 "TIFF image has depth 0, bits per sample value 16 and samples per pixel value of 1", by <50295@web.de>
2018.11.13 14:45 "Re: TIFF image has depth 0, bits per sample value 16 and samples per pixel value of 1", by Roger Leigh
2018.11.13 16:57 "Re: TIFF image has depth 0, bits per sample value 16 and samples per pixel value of 1", by Bob Friesenhahn

2018.11.13 14:14 "TIFF image has depth 0, bits per sample value 16 and samples per pixel value of 1", by <50295@web.de>

Dear List,

I'm trying to analyze an image that has:

depth 0
bits per sample value 16
samples per pixel value 1

... see below. What sort of image is this? It does not fit the mould of 
any of the image types here
http://www.mit.edu/afs.new/sipb/project/scanner/arch/i386_rhel3/bin/html/vuesc13.htm 


uint32 depth = 0;
uint16 bitsPerSample, samplesPerPixel;

// Returns 0
TIFFGetField( tif , TIFFTAG_IMAGEDEPTH , &depth );

// Returns 16
TIFFGetField( tif , TIFFTAG_BITSPERSAMPLE , &bitsPerSample );

// Returns 1
TIFFGetField( tif , TIFFTAG_SAMPLESPERPIXEL, &samplesPerPixel );

Regards,

- Olumide