public async Task<IRawConversionResult> ConvertAsync(string sourceFile) { var result = new RawConversionResult(); var opts = new DCRawOptions { UseCameraWhiteBalance = true, Quality = InterpolationQuality.Quality3, HighlightMode = HighlightMode.Blend, Colorspace = Colorspace.sRGB, DontAutomaticallyBrighten = true, HalfSizeColorImage = _isReviewMode }; var dcraw = new DCRaw(opts); result.OutputFile = (await dcraw.ConvertAsync(sourceFile)).OutputFilename; return result; }
public DCRaw(DCRawOptions options) { Options = options; }