AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2009

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date


The TIFF Mailing List Homepage
Archive maintained by AWare Systems

New Datamatrix section

Valid HTML 4.01!


2009.08.03 18:01 ".raw extension", by Joe Tracy
2009.08.03 20:20 "Re: .raw extension", by Chris Cox
2009.08.04 14:13 "Re: .raw extension", by Joe Tracy
2009.08.04 16:22 "Re: .raw extension", by Michael Persons
2009.08.04 19:11 "Re: .raw extension", by Chris Cox

2009.08.04 16:22 "Re: .raw extension", by Michael Persons

Just to clarify Joe, the ChannelInputStream class does not exist in the tif
lib, it is just an abstraction I created to represent different channel
sources (e.g. Tiff versus JPEG versus raw). In your case you essentially
would just read the file (as that would be the "channel" data) and apply the
previously sent algorithm (although the algorithm could be simplified quite
a bit considering you only have 1 channel.

Michael JP Persons

[] On Behalf Of Joe Tracy
Sent: Tuesday, August 04, 2009 7:13 AM
To: Chris Cox; TIFF
Subject: Re: [Tiff] .raw extension

No,  they are raw uncompressed 16 bit tiff files without a header.  I
received a suggestion on using the ChannelInputStream class so I am going to
give this a try.

From: Chris Cox []
Sent: Monday, August 03, 2009 3:21 PM
To: Joe Tracy; TIFF
Subject: Re: [Tiff] .raw extension

Are these RAW files from a digital camera?  If so, LibTIFF won't be able to
do much with them --  because RAW files are not simple pixels, they are a
record of the sensor data and need to be demosaic'd before they become
useful images.  Take a look at dcraw.


On 8/3/09 11:01 AM, "Joe Tracy" <> wrote:
Has anyone used libtiff to read in a .raw file?  The files I have are raw,
uncompressed tiff images (16 bit).  I would like to read them in, write a
header and create a tiff file of them.