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
January 2001

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

2001.01.29 03:54 "16 bit TIFF help", by Krishnamoorthy Raman
2001.01.31 02:00 "Re: 16 bit TIFF help", by Frank Warmerdam
2001.01.31 02:40 "Re: 16 bit TIFF help", by Krishnamoorthy Raman

2001.01.31 02:00 "Re: 16 bit TIFF help", by Frank Warmerdam

Krishna,

I frequently works with 16bit, 32bit, floating point, and even complex
TIFF files.  They can work fine through libtiff, though some of the
tools aren't up to handling them.

The byte order of the image data will match the byte order of the rest of
the TIFF file, and the library will take care of reordering it into local
machine order on a read.

I don't know that it is possible to use palettes with 16bit TIFF files.
In theory it might be possible, but the palette would have to have 64K
entries, and I am not sure that libtiff will even support it.

I don't have any conveniently stripped down code to show how to do work with
16bit files, but you can find a sample 16bit file at:

 ftp://ftp.remotesensing.org/pub/geotiff/samples/usgs/m30dem.tif

Best regards,

---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerda
and watch the world go round - Rush    | Geospatial Programmer for Rent

Editor's note: This mail was not originally archived, and has been reconstructed from quotes.