Class MedianCutQuantizer
Namespace: Aurigma.DesignAtoms.ImageProcessing.Services
Assembly: Aurigma.DesignAtoms.ImageProcessing.dll
Syntax
public class MedianCutQuantizer
Inheritance: System.Object -> MedianCutQuantizer
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Constructors
MedianCutQuantizer
public MedianCutQuantizer()
Methods
ReduceToPalette
public List<Color> ReduceToPalette(Bitmap bitmap, Dictionary<Color, int> bitmapColors = null)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Bitmap | bitmap | |
System.Collections.Generic.Dictionary<Aurigma.GraphicsMill.Color,System.Int32> | bitmapColors |
Returns
System.Collections.Generic.List<Aurigma.GraphicsMill.Color>