Namespace: PdfSharp.BigGustave
The Palette class.
public class Palette
True if palette has alpha values.
public bool HasAlphaValues { get; private set; }
The palette data.
public Byte[] Data { get; }
Creates a palette object. Input palette data length from PLTE chunk must be a multiple of 3.
public Palette(Byte[] data)
data
Byte[]
Adds transparency values from tRNS chunk.
public void SetAlphaValues(Byte[] bytes)
bytes
Byte[]
Gets the palette entry for a specific index.
public Pixel GetPixel(int index)
index
Int32