2005.06.09 19:35 "Re: [Tiff] TiffSplit can't handle 16 bits per sample?", by Andrey Kiselev
On Tue, Jun 07, 2005 at 03:21:13PM -0400, James Carroll wrote:
Hi, I'm trying to convert a large 16 bits/sample TIFF image stack into an 8 bits/sample stack. (Truncating the least significant byte of each pixel.)
My usual trick is to use tiffsplit to split apart the stack, and then irfanview to process each image, and then tiffcp to reassemble the stack, but in this case tiffsplit seems to get rid of the most significant byte of each 16 bit sample leaving me with some psychedelic least significant 8 bits in each image.
Could you show tiffinfo/tiffdump results for your image? tiffsplit should work fine for 16-bit TIFFs, so there is probably a bug somewhere in the code.
Andrey V. Kiselev
Home phone: +7 812 5970603 ICQ# 26871517