| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2009.08.04 16:22 "Re: .raw extension", by Michael PersonsJust 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 ________________________________ From: tiff-bounces@lists.maptools.org [mailto:tiff-bounces@lists.maptools.org] 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. Thanks, joe ________________________________ From: Chris Cox [mailto:ccox@adobe.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. Chris 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. Thanks, Joe |
|||||||