C# Класс SEToolbox.ImageLibrary.PaletteQuantizer

Summary description for PaletteQuantizer.
Наследование: Quantizer
Показать файл Открыть проект

Открытые методы

Метод Описание
PaletteQuantizer ( ArrayList palette ) : System.Collections

Construct the palette quantizer

Palette quantization only requires a single quantization step

Защищенные методы

Метод Описание
GetPalette ( System.Drawing.Imaging.ColorPalette palette ) : System.Drawing.Imaging.ColorPalette

Retrieve the palette for the quantized image

QuantizePixel ( Color32 pixel ) : byte

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

Описание методов

GetPalette() защищенный Метод

Retrieve the palette for the quantized image
protected GetPalette ( System.Drawing.Imaging.ColorPalette palette ) : System.Drawing.Imaging.ColorPalette
palette System.Drawing.Imaging.ColorPalette Any old palette, this is overrwritten
Результат System.Drawing.Imaging.ColorPalette

PaletteQuantizer() публичный Метод

Construct the palette quantizer
Palette quantization only requires a single quantization step
public PaletteQuantizer ( ArrayList palette ) : System.Collections
palette System.Collections.ArrayList The color palette to quantize to
Результат System.Collections

QuantizePixel() защищенный Метод

Override this to process the pixel in the second pass of the algorithm
protected QuantizePixel ( Color32 pixel ) : byte
pixel Color32 The pixel to quantize
Результат byte