Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
X-Original-To: filtered@awaresystems.be
Delivered-To: filtered@awaresystems.be
Received: from mx-j.one.com (mx-j.one.com [91.198.169.57])
	by mail9.b-one.net (Postfix) with ESMTP id D4B10401F0C
	for <filtered@awaresystems.be>; Wed,  4 Jan 2012 16:24:17 +0100 (CET)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-j: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.160.48 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-pw0-f48.google.com (mail-pw0-f48.google.com [209.85.160.48])
	by mx-j.one.com (Postfix) with ESMTP id 4F5D91506F01
	for <filtered@awaresystems.be>; Wed,  4 Jan 2012 15:24:17 +0000 (UTC)
Received: by pbaa12 with SMTP id a12so10515876pba.21
        for <filtered@awaresystems.be>; Wed, 04 Jan 2012 07:24:16 -0800 (PST)
Received: by 10.68.212.198 with SMTP id nm6mr1184780pbc.87.1325690656211;
        Wed, 04 Jan 2012 07:24:16 -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.142.215.12 with SMTP id n12cs348320wfg;
        Wed, 4 Jan 2012 07:24:15 -0800 (PST)
Received: by 10.68.75.233 with SMTP id f9mr143630759pbw.10.1325690653596;
        Wed, 04 Jan 2012 07:24:13 -0800 (PST)
Received-SPF: softfail (google.com: best guess record for domain of transitioning tiff-bounces@lists.maptools.org does not designate 91.198.169.249 as permitted sender) client-ip=91.198.169.249;
Received: by 10.68.18.99 with POP3 id v3mf13241976pbd.17;
        Wed, 04 Jan 2012 07:24:13 -0800 (PST)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110 info@awaresystems.be
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-r.one.com (mx-r.one.com [91.198.169.249])
	by mail9.b-one.net (Postfix) with ESMTP id BEFF5401F0C
	for <info@awaresystems.be>; Wed,  4 Jan 2012 15:58:54 +0100 (CET)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-r.one.com (Postfix) with ESMTP id 5D4621CD753D
	for <info@awaresystems.be>; Wed,  4 Jan 2012 14:58:54 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 1793A1ED9FB;
	Wed,  4 Jan 2012 09:57:47 -0500 (EST)
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by lists.maptools.org (Postfix) with ESMTPS id 402321ED9FB
	for <tiff@lists.maptools.org>; Wed,  4 Jan 2012 09:42:34 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id
	q04EgVqh018099; Wed, 4 Jan 2012 08:42:31 -0600 (CST)
Date: Wed, 4 Jan 2012 08:42:31 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: Martin Alegre <tin.alegre@gmail.com>
In-Reply-To: <CAPKW8o0JcCJT4LRkVNDpnnEBjFaC23tASwwR6cCv6J_4S-xMaw@mail.gmail.com>
Message-ID: <alpine.GSO.2.01.1201040826280.15666@freddy.simplesystems.org>
References: <CAPKW8o0JcCJT4LRkVNDpnnEBjFaC23tASwwR6cCv6J_4S-xMaw@mail.gmail.com>
User-Agent: Alpine 2.01 (GSO 1266 2009-07-14)
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
	(blade.simplesystems.org [65.66.246.90]);
	Wed, 04 Jan 2012 08:42:32 -0600 (CST)
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] reading rgb values from 16 bits tif 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

On Wed, 4 Jan 2012, Martin Alegre wrote:
> Besides that, does the LibTiff library supports now 32-bits images?

TIFF is a very flexible format and libtiff exposes most of its 
flexibility to you.  By using the lower-level interfaces, you can use 
32-bits integer, or 16/24/32/64 bits float images.  As long as you are 
prepared to encode/decode the pixels, you could use completely 
arbitrary integer depths.

Unless your requirements are very specific or you have substantial 
time available to develop your software, you may be better off using a 
higher-level library which takes care of the lower-level TIFF details 
for you.

One possibility is my Magick++ C++ library, included in 
GraphicsMagick.  Links to other useful libraries (e.g. VIPS, VIGRA, 
FreeImage, OpenImageIO) are included in the "Other Software Packages" 
section of the GraphicsMagick links page:

   http://www.graphicsmagick.org/links.html

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/
