2006.03.31 05:49 "[Tiff] 16-bit TIFF to 8-bit BMP/TIF ???", by Chris L.

2006.03.31 16:05 "Re: [Tiff] 16-bit TIFF to 8-bit BMP/TIF ???", by Bob Friesenhahn

I'm I relative newbie when it comes to LibTiff but this link provides basic (but good) information on using libtiff: http://www.remotesensing.org/libtiff/libtiff.html

As noted under the TIFFRBAImage Support section, libtiff already has basic support for 16-bit to 8-bit sample conversion already. Assuming that you have available memory to read the entire image at once, this looks like it might be the quickest way.

Yes, and this built in support does not apply the desired square root so probably all that you would get is a blown-out or all-black image. :-)

Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/