comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: need some help reading dng files.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: need some help reading dng files. [message #83799] Mon, 01 April 2013 17:23 Go to next message
Craig Markwardt is currently offline  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
Re: need some help reading dng files. [message #83881 is a reply to message #83799] Wed, 10 April 2013 15:07 Go to previous message
fututre.keyboard is currently offline  fututre.keyboard
Messages: 10
Registered: September 2009
Junior Member
Thank you, Craig! Dcraw works but I am still trying to avoid intermediate files. -Eugene


On Monday, April 1, 2013 5:23:53 PM UTC-7, Craig Markwardt wrote:
> 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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Are the JHU/APL/S1R libraries still available?
Next Topic: need some help reading dng files.

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:32:45 PDT 2025

Total time taken to generate the page: 0.00604 seconds