View Single Post
  #6  
Old 08-16-2007, 02:26 AM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 632
oxygen is on a distinguished road
Default Re: Converting Nikon camera RAW images to JPEG,TIFF files using Adobe dll in C#.NET

Hi,

I have tried to convert raw images using DCRAW. Dcraw is a raw converter used to convert more than 244 different types of raw images into tiff or jpg or ppm. Dcraw source can be download from the site Decoding raw digital photos in Linux as C or C++ source. Dcraw converts the raw image with Exif properties. Supported raw formats: CRW, CR2, MRW, NEF, RAF, etc..
Dcraw exe can be download from http://www.insflug.org/raw/.

C# code to call dcraw exe:

Process proc = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo("dcraw.exe", "-T D:\\sample.CR2");
startInfo.CreateNoWindow = true;
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.UseShellExecute = false;
proc.StartInfo = startInfo;
proc.Start();
while (!proc.HasExited)
{
}
proc.Close();
__________________
The OXYGEN
Delivers edgy, intelligent Technology to all...
Reply With Quote