Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx7.public.one.com ([10.246.18.27])
	by mail6.local.one.com (Dovecot) with LMTP id 5GT/MLRWM1iHPwEAsyOMew
	for <filtered@awaresystems.be>; Mon, 21 Nov 2016 20:20:02 +0000
X-HalOne-ID: e1a587dc-b027-11e6-92ff-549f350a6292
Received: from mail-oi0-f43.google.com (unknown [209.85.218.43])
	by mx7.public.one.com (Halon Mail Gateway) with ESMTPS
	for <filtered@awaresystems.be>; Mon, 21 Nov 2016 20:20:01 +0000 (UTC)
Received: by mail-oi0-f43.google.com with SMTP id y198so34638952oia.1
        for <filtered@awaresystems.be>; Mon, 21 Nov 2016 12:20:01 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-original-authentication-results:x-gm-message-state:delivered-to
         :date:from:to:in-reply-to:message-id:references:user-agent
         :mime-version:cc:subject:precedence:list-id:list-unsubscribe
         :list-archive:list-post:list-help:list-subscribe
         :content-transfer-encoding:sender:errors-to;
        bh=VjadwujT3ELAooHopt6ub/sVvZ+ppfXaGo6DrRkgVi4=;
        b=af05CIc5g8WXmz+JxdX08JjN/C2wxivQUI14EDtYqkLj3Jr7NvU6NvptfVSIWIiPl+
         QSfqjApv20dFgoyZ0FfWNyUB5SieL/VV2F5ri6uGqiFsTdoEpCnA3nYSngaFK+5pz4aG
         zc0mj36UHFt4TukUIoThejSf+xGn9AHJ3MVhSj5kFDaKdVweoTAXS+5DEd2jvkSyaQID
         /hZzGp45Qfzbq3RQLfjVB1r5Liao9IjtrRuiUQXqT40Cw6NGL9HI8Mxi5sUlF+ZhA+m1
         0T7PnI6qygCGYy6j/eMF7d6BPdJrStMulscj6iMhZBFXB6r1/khBNWa82lxwbCj8Ltfy
         eI7Q==
X-Original-Authentication-Results: mx.google.com;       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org
X-Gm-Message-State: AKaTC03aG4fkrX8pzQ1RCNtQlwKY8ADf/Uar763/iICnPWDztPdEjq3AB1K3SgE0z1kRt5ssCt8xVCDFgZ9mlEV+DeF6Pwo=
X-Received: by 10.157.50.162 with SMTP id u31mr10325832otb.267.1479759599036;
        Mon, 21 Nov 2016 12:19:59 -0800 (PST)
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.202.192.135 with SMTP id q129csp1735234oif;
        Mon, 21 Nov 2016 12:19:58 -0800 (PST)
X-Received: by 10.28.91.141 with SMTP id p135mr16768745wmb.128.1479759598091;
        Mon, 21 Nov 2016 12:19:58 -0800 (PST)
Return-Path: <tiff-bounces@lists.maptools.org>
Received: from lists.maptools.org (ks365428.kimsufi.com. [94.23.4.142])
        by mx.google.com with ESMTP id 140si15231788wmk.98.2016.11.21.12.19.50;
        Mon, 21 Nov 2016 12:19:58 -0800 (PST)
Received-SPF: neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) client-ip=94.23.4.142;
Authentication-Results: mx.google.com;
       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 3101435C0A3;
	Mon, 21 Nov 2016 15:14:14 -0500 (EST)
Received: from smtp.simplesystems.org (smtp.simplesystems.org [65.66.246.90])
	by lists.maptools.org (Postfix) with ESMTPS id 8966835C085
	for <tiff@lists.maptools.org>; Mon, 21 Nov 2016 14:54:24 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by smtp.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id
	uALJsLZE000068; Mon, 21 Nov 2016 13:54:21 -0600 (CST)
Date: Mon, 21 Nov 2016 13:54:21 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: Aaron Boxer <boxerab@gmail.com>
In-Reply-To: <CAK8GPyCV2CYO+7-x64=mSqHrO-nqrb-24=8=ptBQZotgd4HF3w@mail.gmail.com>
Message-ID: <alpine.GSO.2.20.1611211349430.293@freddy.simplesystems.org>
References: <CAK8GPyDmd1tEGr+oftWfV3edB9EBMWXkKUFOvskUm5XWzLCU-A@mail.gmail.com>
	<D458B2DE.3E80A%kemp@objectivepathology.com>
	<CAK8GPyAQVO4WQ8gtNLj+2j+qff0RfV8p5K3_LRS1CZT3LG-dLg@mail.gmail.com>
	<alpine.GSO.2.20.1611211340020.293@freddy.simplesystems.org>
	<CAK8GPyCV2CYO+7-x64=mSqHrO-nqrb-24=8=ptBQZotgd4HF3w@mail.gmail.com>
User-Agent: Alpine 2.20 (GSO 67 2015-01-07)
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
	(smtp.simplesystems.org [65.66.246.90]);
	Mon, 21 Nov 2016 13:54:21 -0600 (CST)
Cc: TIFF mailing list <tiff@lists.maptools.org>
Subject: Re: [Tiff] 12 bit byte format
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

On Mon, 21 Nov 2016, Aaron Boxer wrote:

> TIFFTAG_BITSPERSAMPLE equals 12
> TIFFTAG_SAMPLESPERPIXEL equals 3
>
> I guess there is no standard format for 12 bit, in terms of bits on disk.

The above seems to be the standard to me.

Since you are likely doing DCI related things, the 12-bits in 16-bits 
issue comes up because the original sample scans were done this way 
(on a Filmlight) because TIFF decoders for 12-bits were rare and 
because they did not trust that DPX readers would support 12-bits. 
Because of this, the original JPEG 2000 encoders targeting DCI were 
implemented for this form of input.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
