Difference between revisions of "Dcraw"

From PanoTools.org Wiki
Jump to navigation Jump to search
m (link to ufraw)
Line 1: Line 1:
To get the full [[Dynamic Range|dynamic range]] from your camera you need to switch to a [[full 16 bit workflow]] which means using [[RAW]] data rather than [[JPEG]]. Camera manufacturers generally provide tools of varying quality to convert [[RAW]] data into something usable, but if you want something better you might want to use the Abode [[Photoshop]] [[RAW]] plugin or the free [http://www.cybercom.net/~dcoffin/dcraw/ dcraw] utility.
+
From an article by David Coffin:
 +
<blockquote>
 +
What is dcraw?
 +
<p>
 +
Quite simply, it's an ANSI C program to decode any raw image from any digital camera on any computer running any operating system. It is a unique and vital tool in the world of digital photography.
 +
</p><p>
 +
Thousands of people use dcraw without knowing it, as Bibble, BreezeBrowser, IrfanView, Conceiva, and the Adobe Camera Raw plugin all contain source code from dcraw.  
 +
</p>
 +
</blockquote>
  
'''dcraw''' was originally developed by Dave Coffin for Linux, it is also available as [http://www.insflug.org/raw/ dcraw for Windows and OS X].
+
Thanks to Dave Coffin the usage of digital cameras is no longer limited to computers running Windows and MacOS, and thanks to him there is a unique way to extract the full [[dynamic range]] from [[RAW]] files in one go.
  
The dcraw code is behind many applications that can open [[RAW]] files such as the free [http://ufraw.sourceforge.net/ UFRaw] plug-in for the [[Gimp]].
+
'''dcraw''' can write 16 bit per channel image files (on windows [[PSD]] files are supported) which contain all the image information of the [[RAW]] file in a linear (gamma 1.0) color space.
 +
 
 +
[[Photoshop]] users can use this files simply by assign a gamma 1.0 color space (and then convert to working space if needed). A gamma 1.0 color space can be created with following steps:
 +
* Choose '''Color Settings''' from '''Edit''' menu.
 +
* Check '''Advanced Mode'''
 +
* Choose '''sRGB IEC61966-2.1''' from the '''RGB''' droplist under '''Working Space'''.
 +
* Choose '''Custom''' from the same droplist (very top).
 +
* In the '''Custom RGB''' dialog set Gamma to 1.0 - leave all other values as they are.
 +
* Enter appropriate name (f.e. '''sRGB Gamma 1''') and leave dialog by pressing '''Ok'''.
 +
* In the '''Color Settings''' dialog choose '''Save RGB''' from the RGB dropdown list.
 +
* Give an appropriate name (f.e. '''sRGB Gamma 1.icc''') and save (this might be slightly different for Mac users).
 +
* Close the '''Color Settings''' dialog by pressing '''Cancel''' (in order not to choose the new profile as working space.
 +
 
 +
Even after conversion into a gamma 2.2 working space the images might look dull. Don't worry. If you use them with [[full 16 bit workflow]] for panorama creation you wont loose anything. You can adjust  levels and contrast in your ready stitched panorama.
 +
 
 +
<small>--[[User:Erik Krause|Erik Krause]] 10:41, 7 Jul 2005 (EDT)</small>
  
 
[[Category:Software:Platform:Windows]]
 
[[Category:Software:Platform:Windows]]
 
[[Category:Software:Platform:Mac OS X]]
 
[[Category:Software:Platform:Mac OS X]]
 
[[Category:Software:Platform:Linux]]
 
[[Category:Software:Platform:Linux]]
 +
[[Category:Software:Platform:other]]

Revision as of 16:41, 7 July 2005

From an article by David Coffin:

What is dcraw?

Quite simply, it's an ANSI C program to decode any raw image from any digital camera on any computer running any operating system. It is a unique and vital tool in the world of digital photography.

Thousands of people use dcraw without knowing it, as Bibble, BreezeBrowser, IrfanView, Conceiva, and the Adobe Camera Raw plugin all contain source code from dcraw.

Thanks to Dave Coffin the usage of digital cameras is no longer limited to computers running Windows and MacOS, and thanks to him there is a unique way to extract the full dynamic range from RAW files in one go.

dcraw can write 16 bit per channel image files (on windows PSD files are supported) which contain all the image information of the RAW file in a linear (gamma 1.0) color space.

Photoshop users can use this files simply by assign a gamma 1.0 color space (and then convert to working space if needed). A gamma 1.0 color space can be created with following steps:

  • Choose Color Settings from Edit menu.
  • Check Advanced Mode
  • Choose sRGB IEC61966-2.1 from the RGB droplist under Working Space.
  • Choose Custom from the same droplist (very top).
  • In the Custom RGB dialog set Gamma to 1.0 - leave all other values as they are.
  • Enter appropriate name (f.e. sRGB Gamma 1) and leave dialog by pressing Ok.
  • In the Color Settings dialog choose Save RGB from the RGB dropdown list.
  • Give an appropriate name (f.e. sRGB Gamma 1.icc) and save (this might be slightly different for Mac users).
  • Close the Color Settings dialog by pressing Cancel (in order not to choose the new profile as working space.

Even after conversion into a gamma 2.2 working space the images might look dull. Don't worry. If you use them with full 16 bit workflow for panorama creation you wont loose anything. You can adjust levels and contrast in your ready stitched panorama.

--Erik Krause 10:41, 7 Jul 2005 (EDT)