Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-m.b-one.net (mx-m.one.com [91.198.169.60])
	by mail9.b-one.net (Postfix) with ESMTP id 2D9C1400125
	for <info@awaresystems.be>; Tue, 17 Feb 2009 03:12:15 +0100 (CET)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=6 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-m.b-one.net (Postfix) with ESMTP id 78BF418CCA10
	for <info@awaresystems.be>; Tue, 17 Feb 2009 03:12:14 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 1D15A1D18FB09;
	Mon, 16 Feb 2009 21:11:33 -0500 (EST)
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by lists.maptools.org (Postfix) with ESMTP id E05BA1D18F47C
	for <tiff@lists.maptools.org>; Mon, 16 Feb 2009 20:49:36 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	n1H1nXJE012396; Mon, 16 Feb 2009 19:49:34 -0600 (CST)
Date: Mon, 16 Feb 2009 19:49:33 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: Gordon Wetzstein <gordon.wetzstein@gmail.com>
In-Reply-To: <7f9533b10902161635g7e51c1abpd7ed5b34c6ad4c2e@mail.gmail.com>
Message-ID: <Pine.SOC.4.64.0902161944350.1127@freddy.simplesystems.org>
References: <7f9533b10902161635g7e51c1abpd7ed5b34c6ad4c2e@mail.gmail.com>
MIME-Version: 1.0
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] DNG question
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

On Mon, 16 Feb 2009, Gordon Wetzstein wrote:

> Sorry for another newbie question, but I'm trying to read DNG files with
> libTIFF 3.8.2.
>
> I have converted my Nikon RAW files to DNG using the Adobe DNG converter.
> dcraw can correctly read the files, so they should be fine. Unfortunately, I
> cannot access the RAW data in the file from my program.

It is likely possible to access DNG raw data from libtiff, but it may 
take some studying.  In addition to that, you would need to be able to 
decode that raw data, and apply suitable filtering.  This is not an 
easy task.  Maybe it is a year's worth of work for an experienced 
programmer to achieve functionality, and even then, other existing 
tools would likely produce more refined output.

It is good to take a look at 'dcraw' from 
http://www.cybercom.net/~dcoffin/dcraw/ since it knows how to read DNG 
as well as many other formats such as Nikon RAW.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
