OptimizedPaletteQuantizerConfigureColorSpace Method
Configures the working color space of the generated
Palette to be used for blending and performing nearest color search.
The configuration may also affect 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: 8.2.0
public OptimizedPaletteQuantizer ConfigureColorSpace(
WorkingColorSpace workingColorSpace
)
Public Function ConfigureColorSpace (
workingColorSpace As WorkingColorSpace
) As OptimizedPaletteQuantizer
public:
OptimizedPaletteQuantizer^ ConfigureColorSpace(
WorkingColorSpace workingColorSpace
)
member ConfigureColorSpace :
workingColorSpace : WorkingColorSpace -> OptimizedPaletteQuantizer
- workingColorSpace WorkingColorSpace
- Specifies the working color space for the generated Palette.
OptimizedPaletteQuantizerAn
OptimizedPaletteQuantizer instance that uses the specified color space.