AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2013.10.28 07:43 "[Tiff] Does TIFF support 15-bit (RGB555 or 5551) images?", by Nikos Chantziaras
2013.10.28 09:38 "Re: [Tiff] Does TIFF support 15-bit (RGB555 or 5551) images?", by Joris Van Damme
2013.10.28 13:50 "Re: [Tiff] Does TIFF support 15-bit (RGB555 or 5551) images?", by Bob Friesenhahn
2013.12.02 20:17 "Re: [Tiff] Compile problem in tif_jpeg.c", by Nacho Man
2013.12.02 02:35 "[Tiff] (no subject)", by Nacho Man
2013.12.02 17:13 "Re: [Tiff] Tiff Digest, Vol 115, Issue 1", by Graeme Gemmill
2013.12.02 15:02 "Re: [Tiff] Compile problem in tif_jpeg.c", by Bob Friesenhahn
2013.12.02 19:27 "Re: [Tiff] Tiff Digest, Vol 115, Issue 1", by Bob Friesenhahn
2013.12.03 06:21 "Re: [Tiff] Tiff Digest, Vol 115, Issue 1", by Nacho Man
2013.12.03 05:37 "Re: [Tiff] Compile problem in tif_jpeg.c", by Nacho Man
2013.12.03 15:18 "Re: [Tiff] Compile problem in tif_jpeg.c", by Bob Friesenhahn
2013.10.28 22:37 "Re: [Tiff] Does TIFF support 15-bit (RGB555 or 5551) images?", by Nikos Chantziaras

2013.10.28 07:43 "[Tiff] Does TIFF support 15-bit (RGB555 or 5551) images?", by Nikos Chantziaras

Hello.

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)
   BITSPERSAMPLE: 5
   PHOTOMETRIC: RGB
   PLANARCONFIG: CONTIG

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?