Show / Hide Table of Contents

Class Quantizer

Inheritance
object
Quantizer
OctreeQuantizer
PaletteQuantizer
Inherited Members
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
public abstract class Quantizer

Constructors

Quantizer(bool)

Declaration
public Quantizer(bool singlePass)
Parameters
Type Name Description
bool singlePass

Methods

FirstPass(BitmapData, int, int)

Declaration
protected virtual void FirstPass(BitmapData sourceData, int width, int height)
Parameters
Type Name Description
BitmapData sourceData
int width
int height

GetPalette(ColorPalette)

Declaration
protected abstract ColorPalette GetPalette(ColorPalette original)
Parameters
Type Name Description
ColorPalette original
Returns
Type Description
ColorPalette

InitialQuantizePixel(Color32)

Declaration
protected virtual void InitialQuantizePixel(Quantizer.Color32 pixel)
Parameters
Type Name Description
Quantizer.Color32 pixel

Quantize(Image)

Declaration
public Bitmap Quantize(Image source)
Parameters
Type Name Description
Image source
Returns
Type Description
Bitmap

QuantizePixel(Color32)

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

SecondPass(BitmapData, Bitmap, int, int, Rectangle)

Declaration
protected virtual void SecondPass(BitmapData sourceData, Bitmap output, int width, int height, Rectangle bounds)
Parameters
Type Name Description
BitmapData sourceData
Bitmap output
int width
int height
Rectangle bounds

Extension Methods

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