Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx-m.one.com (mx-m.one.com [91.198.169.60])
	by mail6.local (Postfix) with ESMTP id 404E08014FAC2
	for <filtered@awaresystems.be>; Mon, 28 Oct 2013 09:23:12 +0100 (CET)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-m.one.com: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.217.177 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177])
	by mx-m.one.com (Postfix) with ESMTP id 0A4B829B319F4
	for <filtered@awaresystems.be>; Mon, 28 Oct 2013 08:23:11 +0000 (UTC)
Received: by mail-lb0-f177.google.com with SMTP id u14so2546916lbd.36
        for <filtered@awaresystems.be>; Mon, 28 Oct 2013 01:23:11 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=delivered-to:domainkey-status:delivered-to:message-id:date:from
         :organization:user-agent:mime-version:to:subject:precedence:list-id
         :list-unsubscribe:list-archive:list-post:list-help:list-subscribe
         :content-type:content-transfer-encoding:sender:errors-to;
        bh=jTdDbH42l7CzVTfSRH2rH6SfaSPlRUoj4hE4iAgJil8=;
        b=JLDpdxehrXWnlY7mBcJW/uD+4rsqWz5yCbqunT434COWA3xVoFHcwt2GQD4450/npo
         QY5OptRZsfv2AjOcUSCZ9L/pxKWevWEJDnLa1rHOpjkUTlPVa/LafL2dLIgBK3/9niOm
         l8fAEizbjY3/dXTqNIeXsJmCiCjjQQlpb0540dgLxQMMSOiyr8d0F+ZKJBVtMpwzSBSW
         YWiF2O95miPzNdxfdtBsueFOwHVqzJRZ8ADRvALBA83md9QuOqwP7dlrL+G/kwhsheZB
         Q8nzUt7N7P1MTbzIW4QRYr7c/DRw1cAT0jN949ysHrhBXqJSXa4GS7esf7uruW0WIK/F
         Mszg==
X-Received: by 10.152.7.105 with SMTP id i9mr14121522laa.9.1382948591565;
        Mon, 28 Oct 2013 01:23:11 -0700 (PDT)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 10.114.2.237 with SMTP id 13csp98037ldx;
        Mon, 28 Oct 2013 01:23:11 -0700 (PDT)
X-Received: by 10.112.131.68 with SMTP id ok4mr10383303lbb.13.1382948590847;
        Mon, 28 Oct 2013 01:23:10 -0700 (PDT)
DomainKey-Status: bad format
Received-SPF: neutral (google.com: 91.198.169.63 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) client-ip=91.198.169.63;
Received: by 10.112.33.46 with POP3 id o14mf4096176lbi.29;
        Mon, 28 Oct 2013 01:23:10 -0700 (PDT)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110 info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-p.one.com (mx-p.one.com [91.198.169.63])
	by mail6.local (Postfix) with ESMTP id 3E0A78014FAC2
	for <info@awaresystems.be>; Mon, 28 Oct 2013 08:50:35 +0100 (CET)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2
Received: from lists.maptools.org (ks365428.kimsufi.com [94.23.4.142])
	by mx-p.one.com (Postfix) with ESMTP id 1B2F641C2ACFE
	for <info@awaresystems.be>; Mon, 28 Oct 2013 07:50:34 +0000 (UTC)
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 4E81835C02D;
	Mon, 28 Oct 2013 02:49:53 -0500 (EST)
Received: from mail-ea0-f180.google.com (mail-ea0-f180.google.com
	[209.85.215.180])
	by lists.maptools.org (Postfix) with ESMTPS id 7E5C735C023
	for <tiff@lists.maptools.org>; Mon, 28 Oct 2013 02:43:37 -0500 (EST)
Received: by mail-ea0-f180.google.com with SMTP id l9so1585198eaj.11
	for <tiff@lists.maptools.org>; Mon, 28 Oct 2013 00:43:36 -0700 (PDT)
X-Received: by 10.15.86.74 with SMTP id h50mr976159eez.90.1382946216195;
	Mon, 28 Oct 2013 00:43:36 -0700 (PDT)
Received: from [10.0.0.1] (athedsl-347430.home.otenet.gr. [85.72.212.196])
	by mx.google.com with ESMTPSA id
	x47sm53820329eea.16.2013.10.28.00.43.35 for <tiff@lists.maptools.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Mon, 28 Oct 2013 00:43:35 -0700 (PDT)
Message-ID: <526E15A6.6010603@gmail.com>
Date: Mon, 28 Oct 2013 09:43:34 +0200
From: Nikos Chantziaras <realnc@gmail.com>
Organization: Lucas Barks
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:24.0) Gecko/20100101 Thunderbird/24.0
MIME-Version: 1.0
To: tiff@lists.maptools.org
Subject: [Tiff] Does TIFF support 15-bit (RGB555 or 5551) images?
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

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?
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
