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();