C# 클래스 Warcraft.Core.Quantization.GrayscaleQuantizer

Summary description for PaletteQuantizer.
상속: PaletteQuantizer
파일 보기 프로젝트 열기: Nihlus/libwarcraft

공개 메소드들

메소드 설명
GrayscaleQuantizer ( ) : System

Construct the palette quantizer

Palette quantization only requires a single quantization step

보호된 메소드들

메소드 설명
QuantizePixel ( Color32 pixel ) : byte

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

메소드 상세

GrayscaleQuantizer() 공개 메소드

Construct the palette quantizer
Palette quantization only requires a single quantization step
public GrayscaleQuantizer ( ) : System
리턴 System

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