IPaletteWorkingColorSpace Property

Gets the preferred color space when this IPalette instance performs blending and measuring distance when looking for a nearest color.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 9.1.1
C#
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.

If this palette uses a custom nearest color lookup, then it depends on the custom function whether it considers the value of this property.

  Note

Please note that palette entries themselves always represent sRGB color values, regardless the value of this property.

See Also