2013.10.28 07:43 "[Tiff] Does TIFF support 15-bit (RGB555 or 5551) images?", by Nikos Chantziaras
I've been trying a lot of experiments, but can't seem to be able to create a TIFF image file with 15-bit or 16-bit pixels. By that I mean formats like 5-5-5, 5-5-5-1 or 5-6-6. The parameters I'm trying are:
SAMPLESPERPIXEL: 3 (and 4, hoping for 5-5-5-1)
It just doesn't work. The created files seem to have a bit depth of 4 per channel (as reported by ImageMagick) and they display either garbled or in grayscale, depending on the viewer.
Is there a way to create such files with LibTIFF?