Show / Hide Table of Contents

Class PaletteQuantizer

Inheritance
object
Quantizer
PaletteQuantizer
GrayscaleQuantizer
Inherited Members
Quantizer.Quantize(Image)
Quantizer.FirstPass(BitmapData, int, int)
Quantizer.SecondPass(BitmapData, Bitmap, int, int, Rectangle)
Quantizer.InitialQuantizePixel(Quantizer.Color32)
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Services.GeneratedImage.ImageQuantization
Assembly: DotNetNuke.dll
Syntax
[CLSCompliant(false)]
public class PaletteQuantizer : Quantizer

Constructors

PaletteQuantizer(ArrayList)

Declaration
public PaletteQuantizer(ArrayList palette)
Parameters
Type Name Description
ArrayList palette

Fields

_colors

Declaration
protected Color[] _colors
Field Value
Type Description
Color[]

Methods

GetPalette(ColorPalette)

Declaration
protected override ColorPalette GetPalette(ColorPalette palette)
Parameters
Type Name Description
ColorPalette palette
Returns
Type Description
ColorPalette
Overrides
Quantizer.GetPalette(ColorPalette)

QuantizePixel(Color32)

Declaration
protected override byte QuantizePixel(Quantizer.Color32 pixel)
Parameters
Type Name Description
Quantizer.Color32 pixel
Returns
Type Description
byte
Overrides
Quantizer.QuantizePixel(Quantizer.Color32)

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS