OptimizedPaletteQuantizerWorkingColorSpace Property

Gets the color space of this OptimizedPaletteQuantizer instance for quantizing. This value will be returned also by the WorkingColorSpace property once an IQuantizingSession is created from this instance. You can use the ConfigureColorSpace method to create a clone of this OptimizedPaletteQuantizer using a different working color space.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 8.2.0
C#
public WorkingColorSpace WorkingColorSpace { get; }

Property Value

WorkingColorSpace

Remarks

  Tip

See the Remarks section of the WorkingColorSpace enumeration for details and image examples about using the different color spaces in various operations.

If the value of this property is Default, then the sRGB color space is used because the IQuantizingSession.GetQuantizedColor method works with sRGB colors anyway.

See Also