Return-Path: owner-tiff@olympiakos.com
Return-Path: <owner-tiff@olympiakos.com>
Received: from localhost (localhost [127.0.0.1])
	by at1895.spb.edu (8.12.1/8.12.1/Debian -1) with ESMTP id g119pQsm009965
	for <dron@localhost>; Fri, 1 Feb 2002 12:51:26 +0300
Received: from eudoramail.com [209.185.123.45]
	by localhost with POP3 (fetchmail-5.9.0)
	for dron@localhost (single-drop); Fri, 01 Feb 2002 12:51:26 +0300 (MSK)
Received: from gate7.olympiakos.com ([207.176.88.85]) by shared1-mail.whowhere.com; Tue Jan 29 20:47:29 2002
Received: from localhost (daemon@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id XAA01305;
	Tue, 29 Jan 2002 23:38:49 -0500
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Tue, 29 Jan 2002 23:34:59 -0500
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id XAA01273
	for tiff-outgoing; Tue, 29 Jan 2002 23:34:59 -0500
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from merle.it.northwestern.edu (merle.acns.nwu.edu [129.105.16.57])
	by gate7.olympiakos.com (8.9.3/8.9.3) with ESMTP id XAA01270
	for <tiff@olympiakos.com>; Tue, 29 Jan 2002 23:34:57 -0500
Received: (from mailnull@localhost)
	by merle.it.northwestern.edu (8.8.7/8.8.7) id WAA24137
	for <tiff@olympiakos.com>; Tue, 29 Jan 2002 22:34:49 -0600 (CST)
Received: from dhcp087197.res-hall.nwu.edu (dhcp087197.res-hall.nwu.edu [199.74.87.197]) by merle.acns.nwu.edu via smap (V2.0)
	id xma023849; Tue, 29 Jan 02 22:34:02 -0600
Date: Tue, 29 Jan 2002 22:35:09 -0600
Mime-Version: 1.0 (Apple Message framework v481)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Subject: Working w 16-bit per channel RGB tiffs
From: Josh Anon <josha@cs.northwestern.edu>
To: tiff@olympiakos.com
Content-Transfer-Encoding: 7bit
Message-Id: <BDDCCEF0-153A-11D6-A615-003065D5A60A@cs.northwestern.edu>
X-Mailer: Apple Mail (2.481)
Sender: owner-tiff@olympiakos.com
Precedence: bulk
Status: RO
Content-Length: 914
Lines: 20

Hi,
I'm sorry if this is a basic question, but I haven't been able to find 
an answer for it.  I have a 16-bit per channel tif from a digital 
camera.  I can open it w/ libtiff, but I'm not sure about how to access 
the values for each pixel (as either a 16-bit/channel or 8-bit/channel 
sample) using libtiff.  I have my own bit of code which will convert a 
48-bit RGB sample to a 32-bit RGBA packed pixel, but I'm not sure where 
to plug it in.  What I'm trying to do is to then read out the 8-bit per 
channel image and  display it in an app.

Thanks for any ideas,
Josh
--
//josha@cs.northwestern.edu   ||   http://www.areax.net
"Flying is simple. You just throw yourself at the ground and miss." -- 
Douglas Adams, So Long, and Thanks for All the Fish


To subscribe or unsubscribe email tiff-request@olympiakos.com with subscribe
or unsubscribe in the email body.  Libtiff home page: http://www.libtiff.org

