ColorManagementProvider.TransparentIndexThreshold Property

Gets or sets a transparency threshold.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)


public int TransparentIndexThreshold { get; set; }

Property Value

The threshold is range [0, 255]. The default value is 128.


When building a palette during color reduction for an image which should be saved to GIF, you need to have the only one transparent color. However during color reduction you may get a number of colors with a different level of transparency. To avoid this, use this property. All alpha channel values which are greater or equal to this value will be changed to 255 (fully opaque), otherwise it will be 0.

See Also