2009.08.04 19:11 "Re: [Tiff] .raw extension", by Chris Cox
That's a contradiction in terms.
If the file is just raw bytes without any header (or structure), then it is not a TIFF file. TIFF can include a raw, uncompressed byte dump - but it must have a header and normal TIFF structure.
On 8/4/09 7:13 AM, "Joe Tracy" <JTracy@akimn.com> wrote:
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 [mailto:email@example.com]
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" <JTracy@akimn.com> 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.