PredefinedColorsQuantizerConfigureColorSpace Method
Configures the preferred working color space for this
PredefinedColorsQuantizer.
The configuration might be ignored if this instance was created from a custom function.
The configuration may affect alpha blending, nearest color lookup if this quantizer has a
Palette, and also the behavior of ditherers that use this quantizer.
See the
Remarks section of the
WorkingColorSpace enumeration for details and
image examples about using the different color spaces in various operations.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 9.1.1
public PredefinedColorsQuantizer ConfigureColorSpace(
WorkingColorSpace workingColorSpace
)
Public Function ConfigureColorSpace (
workingColorSpace As WorkingColorSpace
) As PredefinedColorsQuantizer
public:
PredefinedColorsQuantizer^ ConfigureColorSpace(
WorkingColorSpace workingColorSpace
)
member ConfigureColorSpace :
workingColorSpace : WorkingColorSpace -> PredefinedColorsQuantizer
- workingColorSpace WorkingColorSpace
- Specifies the working color space for the generated Palette.
PredefinedColorsQuantizerAn
OptimizedPaletteQuantizer instance that uses the specified color space.