Mscms.WPF 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Mscms.WPF --version 2.0.0                
NuGet\Install-Package Mscms.WPF -Version 2.0.0                
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="Mscms.WPF" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mscms.WPF --version 2.0.0                
#r "nuget: Mscms.WPF, 2.0.0"                
#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 Mscms.WPF as a Cake Addin
#addin nuget:?package=Mscms.WPF&version=2.0.0

// Install Mscms.WPF as a Cake Tool
#tool nuget:?package=Mscms.WPF&version=2.0.0                

Mscms.WPF

Color Management Engine for WPF based on Windows Color System

How this library works?

To manage Colors and Images two extension methods are provided: ToManagedColor() and ToManagedImage().

Color managed = Color.FromRgb(248, 218, 69).ToManagedColor();
BitmapImage managedImage = new BitmapImage(..).ToManagedImage();

This is the simplest way to automatically translate colors with the Color Profile associated to the monitor hosting the app.

Additional classes are available to specify the Input/Output Profile, the Rendering Intent and additional options.

If it's best not to touch your application code, an Attached Property is available for the Image control and the SolidColorBrush class. Can be used by simply adding the IsColorManaged property to your XAML.

<Image Mscms:WpfManagedColors.IsColorManaged="True" />

Please check-out the Mscms.Core README file for additional documentation

WPF Demonstration application

https://github.com/electro-logic/WpfManagedColors

Performance

A FullHD image (1920x1080) color correction usually takes less than 0.1s

System Requirements

The library is divided in two packages: Mscms.Core (.NET Standard 2.0) and Mscms.WPF (.NET 4.8 Framework) to support any modern .NET application.

WPF projects (including .NET 5+) should reference Mscms.WPF, while non-WPF projects (ASP.NET, UWP, MAUI, etc..) should reference the Mscms.Core library.

Commercial License

This Library and it's source-code is not free to use for commercial projects. Please contact the Author at leonardo@majinsoft.com to obtain a commercial license.

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 net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
2.1.0 270 12/2/2023
2.0.1 139 11/21/2023
2.0.0 127 11/21/2023
1.7.0 148 11/20/2023
1.6.0 118 11/20/2023
1.5.0 126 11/20/2023
1.4.0 141 11/18/2023