Mscms.WPF
2.1.0
dotnet add package Mscms.WPF --version 2.1.0
NuGet\Install-Package Mscms.WPF -Version 2.1.0
<PackageReference Include="Mscms.WPF" Version="2.1.0" />
paket add Mscms.WPF --version 2.1.0
#r "nuget: Mscms.WPF, 2.1.0"
// Install Mscms.WPF as a Cake Addin #addin nuget:?package=Mscms.WPF&version=2.1.0 // Install Mscms.WPF as a Cake Tool #tool nuget:?package=Mscms.WPF&version=2.1.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 | Versions 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. |
-
.NETFramework 4.8
- Mscms.Core (>= 2.1.0)
-
net6.0-windows7.0
- Mscms.Core (>= 2.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.