Sets alpha values of pixels with a given color (and tolerant ones) to transparent.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void Transparentize(
Color backgroundColor,
float threshold
)
Type: System.Single
The threshold in range [0, 1].bitmap.Channels.Transparentize(RgbColor.LightBlue, 0.3f);