C# Class Warcraft.Core.Quantization.GrayscaleQuantizer

Summary description for PaletteQuantizer.
Inheritance: PaletteQuantizer
Afficher le fichier Open project: Nihlus/libwarcraft

Méthodes publiques

Méthode Description
GrayscaleQuantizer ( ) : System

Construct the palette quantizer

Palette quantization only requires a single quantization step

Méthodes protégées

Méthode Description
QuantizePixel ( Color32 pixel ) : byte

Override this to process the pixel in the second pass of the algorithm

Method Details

GrayscaleQuantizer() public méthode

Construct the palette quantizer
Palette quantization only requires a single quantization step
public GrayscaleQuantizer ( ) : System
Résultat System

QuantizePixel() protected méthode

Override this to process the pixel in the second pass of the algorithm
protected QuantizePixel ( Color32 pixel ) : byte
pixel Color32 The pixel to quantize
Résultat byte