Méthode | Description | |
---|---|---|
PaletteIndexReader ( Array palette, Array paletteAlpha ) |
Initializes a new instance of the PaletteIndexReader class.
|
|
ReadScanline ( Array scanline, Array pixels, Nine.Imaging.Encoding.PngHeader header ) : void |
Reads the specified scanline.
|
public PaletteIndexReader ( Array palette, Array paletteAlpha ) | ||
palette | Array | The palette as simple byte array. It will contains 3 values for each /// color, which represents the red-, the green- and the blue channel. |
paletteAlpha | Array | The alpha palette. Can be null, if the image does not have an /// alpha channel and can contain less entries than the number of colors in the palette. |
public ReadScanline ( Array scanline, Array pixels, Nine.Imaging.Encoding.PngHeader header ) : void | ||
scanline | Array | The scanline. |
pixels | Array | The pixels, where the colors should be stored in RGBA format. |
header | Nine.Imaging.Encoding.PngHeader | The header, which contains information about the png file, like /// the width of the image and the height. |
Résultat | void |