Return-Path: <tiff-admin@remotesensing.org>
Received: from inmx010.isp.belgacom.be (inmx010.isp.belgacom.be [195.238.2.73])
        by six.skynet.be (8.12.9/8.12.9/Skynet-MAILSTORE-2.14) with ESMTP id i1OFh3M9004019
        for <joris.at.lebbeke@skynet.be>; Tue, 24 Feb 2004 16:43:03 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com ([208.24.120.42])
        by inmx010.isp.belgacom.be (8.12.9/8.12.9/Skynet-IN-2.32) with ESMTP id i1OFgr6q013682
        for <joris.at.lebbeke@skynet.be>; Tue, 24 Feb 2004 16:42:54 +0100
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com (localhost.localdomain [127.0.0.1])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i1OFgCl24089;
	Tue, 24 Feb 2004 10:42:12 -0500
Received: from sabre.velocet.net (postfix@sabre.velocet.net [216.138.209.205])
	by yoda.imagelinks.com (8.11.6/8.11.2) with ESMTP id i1OFfkl24057
	for <tiff@remotesensing.org>; Tue, 24 Feb 2004 10:41:46 -0500
Received: from pobox.com (H156.C195.tor.velocet.net [216.138.195.156])
	by sabre.velocet.net (Postfix) with ESMTP
	id C126E137FF5; Tue, 24 Feb 2004 10:41:30 -0500 (EST)
Message-ID: <403B70B7.8030006@pobox.com>
From: Frank Warmerdam <warmerdam@pobox.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: mayankg@iiitb.ac.in
Cc: tiff@remotesensing.org
Subject: Re: [Tiff] Support for 16-bits per sample images
References: <1077635850.403b6b0a5d9b9@203.197.175.3>
In-Reply-To: <1077635850.403b6b0a5d9b9@203.197.175.3>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: tiff-admin@remotesensing.org
Errors-To: tiff-admin@remotesensing.org
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Post: <mailto:tiff@remotesensing.org>
List-Subscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
List-Id: TIFF and libtiff discussion <tiff.remotesensing.org>
List-Unsubscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://remotesensing.org/pipermail/tiff/>
Date: Tue, 24 Feb 2004 10:41:43 -0500
X-UIDL: 1f4b08aa3537ae51a4cf23b28d74c89e

mayankg@iiitb.ac.in wrote:
> Hi,
> Does the libtiff library supports 16-bits per sample images for both RGB and 
> CMYK images?
> If Yes, then what is the latest version that supports it?
> 
> Also, I found that, the version that i have, does have some level of support 
> for 16-bit RGB images, but it just truncates the data from 16-bits to 8-bits to 
> store it as an 8-bit image. Is this statement correct?

Mayank,

Are you specifically asking if the RGBA functions in libtiff support 16bit
data?  The TIFFReadTile() and TIFFReadStrip() interfaces work fine for 16
bit data, but I am not certain if the RGBA functions (ie. TIFFReadRGBAImage())
support 16bit well.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://remotesensing.org/mailman/listinfo/tiff
