Skip to content

Repository files navigation

FileOnQ.Imaging.Raw

This project is a work in progress all code is currently experimental

A C#/.NET wrapper around LibRaw to simplify processing raw images and retrieving thumbnails.

BuildNuGet

Contributing

⭐ Pull Requests and Issues are always welcomed ⭐

Setup

Install the NuGet package into your target head and any shared projects.

NuGet

The NuGet package must be included in the entry point or target head, otherwise the native assemblies won't be copied over to the bin directory correctly.

Windows

Any Windows device running an application using this library requires the Visual C++ Redistributable package installed. See the Microsoft Visual C++ Redistributable Latest Supported Downloads. You will need to install the correct CPU Architecture(s) that your application supports.

Supported Target Frameworks

FileOnQ.Imaging.Raw is available for use in the following target frameworks

PlatformSupportedVersion
net481.0.0
net5.01.0.0
net6.01.0.0
Xamarin.iOSPlanned
Xamarin.MacPlanned
MonoAndroidPlanned

Supported Runtime Identifiers

FileOnQ.Imaging.Heif is available for use in the following runtime identifiers

PlatformSupportedVersion
win-x861.0.0
win-x641.0.0
win-ARM64Planned
osx-x64Planned
linux-x64Planned

Usage

Saves a raw image as a ppm

using(varimage=newRawImage("image.RW2"))using(varraw=image.UnpackRaw()){raw.Process(newDcrawProcessor());raw.Write("output.ppm");}

Saves the embedded thumbnail as a ppm

using(varimage=newRawImage("image.RW2"))using(varthumbnail=image.UnpackThumbnail()){thumbnail.Write("output.ppm");}

Documentation

We don't have a wiki or full API documentation. If you are interested in helping, create an issue so we can discuss.

Dependencies

Created By FileOnQ

This library was created by FileOnQ and donated to the open source community.

About

No description, website, or topics provided.

Resources

Contributing

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages