Class ColorContextExtensions
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.Core.dll
public static class ColorContextExtensions
- Inheritance
-
ColorContextExtensions
- Inherited Members
Methods
- TryGetCicpColorSpace(IColorContext, out CicpColorSpace)
Tries to determine the CICP color information that best describes the given ICC color profile. This is the inverse of CreateColorContext(IImagingFactory, CicpColorSpace): it derives the values for e.g. a PNG
cICPchunk (or AVIFnclx) from a profile.
- TryGetCicpColorSpaceExact(IColorContext, out CicpColorSpace)
Tries to determine the CICP color information for the given ICC color profile, but only when that CICP is an exact substitute for the profile — that is, either when the color profile has a
cicptag, or when synthesizing a profile back from the CICP reproduces the original exactly.
- TryGetKnownColorSpace(IColorContext)
Attempts to identify the color space of the given color profile.
- TryGetKnownColorSpace(IColorContext, out KnownColorSpace)
Attempts to identify the color space of the given color profile.