I am no longer using this in my own projects as I have moved to NRawTherapee instead. Given this, I am archiving this repo as I currently have no intention to make any further enhancements.
A .Net library to wrap the functionality of DCRaw.
Create a simple wrapper around this excellent program to allow .Net programs to easily convert RAW image files (like Nikon NEF).
- Install DCRaw
- Add a reference to NDCRaw in your project.json
- Bring down the packages for your project via
dnu restore
using NDCRaw;
namespace Test
{
public class Example
{
public void Convert(string file)
{
var dcraw = new DCRaw(new DCRawOptions());
var outfile = dcraw.Convert(file);
}
}
}
- View the tests for more examples
- You also might want to check out NMagickWand which can then help working with the generated file from NDCRaw!
I'm happy to accept pull requests. By submitting a pull request, you must be the original author of code, and must not be breaking any laws or contracts.
Otherwise, if you have comments, questions, or complaints, please file issues to this project on the github repo.
I hope to make many improvements to the library as time permits.
- Add tests
- Investigate options to bundle dcraw
NDCRaw is licensed under the MIT license. See LICENSE.md for more information.