Re: need some help reading dng files. [message #83799] |
Mon, 01 April 2013 17:23  |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
On Monday, April 1, 2013 7:02:53 PM UTC-4, future....@gmail.com wrote:
> Hi, Folks
>
>
>
> I have some camera raw files in DNG format that I would like to be able to read in IDL. I read that DNG is an open format and is a special kind of TIFF. But I don't really know how to make use of the adobe DNG specification and import the raw data. I tried query_tiff and read_tiff and I can get some information but they are mostly wrong and I don't get any useful data. Any hints? Thanks and have a nice day!
I'm not sure READ_TIFF() will be smart enough. I think that it's true that DNG is based on the TIFF standard, i.e. the file is built up of tagged records. On the other hand, I think DNG creates additional tagged information which is not present for typical images that READ_TIFF() is designed to read.
Especially if you are just starting out, my suggestion to you is to get the 'dcraw' software. You can use this software to convert a RAW file to pnm format which is easy to read. Play with the output options and -D and I think you will get something like what you want.
Craig
|
|
|