Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

AerisG222/NDCRaw

Repository files navigation

MIT licensed NuGet Travis Coverity Scan

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.


NDCRaw

A .Net library to wrap the functionality of DCRaw.

Motivation

Create a simple wrapper around this excellent program to allow .Net programs to easily convert RAW image files (like Nikon NEF).

Using

  • 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!

Contributing

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.

Todo

I hope to make many improvements to the library as time permits.

  • Add tests
  • Investigate options to bundle dcraw

License

NDCRaw is licensed under the MIT license. See LICENSE.md for more information.

Reference

About

.Net wrapper for DCRaw

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages