Method CreateLinearizedColorContextOrScRgb
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.Framework.dll
CreateLinearizedColorContextOrScRgb(IImagingFactory, IColorContext)
Creates a linearized version of the given color context, or creates an scRGB color context if the given one cannot be linearized. See TryCreateLinearizedColorContext(IImagingFactory, IColorContext) for more information.
public static IColorContext CreateLinearizedColorContextOrScRgb(this IImagingFactory factory, IColorContext baseColorContext)
Parameters
factory
IImagingFactorybaseColorContext
IColorContext