HurlbertVisionLab.LibRawWrapper 1.0.2.2

dotnet add package HurlbertVisionLab.LibRawWrapper --version 1.0.2.2
NuGet\Install-Package HurlbertVisionLab.LibRawWrapper -Version 1.0.2.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HurlbertVisionLab.LibRawWrapper" Version="1.0.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HurlbertVisionLab.LibRawWrapper --version 1.0.2.2
#r "nuget: HurlbertVisionLab.LibRawWrapper, 1.0.2.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install HurlbertVisionLab.LibRawWrapper as a Cake Addin
#addin nuget:?package=HurlbertVisionLab.LibRawWrapper&version=1.0.2.2

// Install HurlbertVisionLab.LibRawWrapper as a Cake Tool
#tool nuget:?package=HurlbertVisionLab.LibRawWrapper&version=1.0.2.2

LibRawWrapper is a single-file C++/CLI assembly containing the LibRaw library for reading RAW files from digital photo cameras (CRW/CR2, NEF, RAF, DNG, MOS, KDC, DCR, etc, virtually all RAW formats are supported). Supports both .NET Framework and .NET Core targets.

⚠️ This is x64 release build. Since this is mixed code assembly, it will only load into 64-bit processes.

The LibRaw Wrapper is aiming at image processing pipeline, giving access to 32-bit floating or 16-bit integer data (using BitmapSource of Rgb128Float or Rgb48 pixel formats, or using pointers). If you only want to display RAW images to the user, install Raw Image Extension by Microsoft instead.

The assembly has two main classes:

  • HurlbertVisionLab.LibRawWrapper.LibRawBitmapDecoder provides high-level, familiar API model
  • HurlbertVisionLab.LibRawWrapper.Native.LibRawProcessor is a close wrapper around libraw, see its documentation here.

Examples available on GitHub.

Known issues

  • Access to makernotes is not implemeneted.
Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed. 
.NET Framework net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6

    • No dependencies.
  • net6.0-windows7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2.2 921 6/14/2023
1.0.2.1 727 3/31/2023
1.0.1.1 995 7/8/2021