2005.06.07 19:21 "[Tiff] TiffSplit can't handle 16 bits per sample?", by James Carroll
2005.06.09 19:35 "Re: [Tiff] TiffSplit can't handle 16 bits per sample?", by Andrey Kiselev
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.
James,
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.
Regards,
Andrey
Andrey V. Kiselev
Home phone: +7 812 5970603 ICQ# 26871517