Skip to content

IndexedImageData Class

Definition

An immutable indexed image with unpacked palette indices and a reusable palette.

public sealed class IndexedImageData : ImageData

View source

Constructors

Name Description
IndexedImageData(Int32, Int32, Byte[], PaletteData, Int32) Initializes an image by copying row-major palette indices.

Properties

Name Description
BitsPerPixel Gets the pixel index bit depth.
Palette Gets the reusable palette.
Pixels Gets the unpacked row-major palette indices.

Methods

Name Description
GetPixel(Int32, Int32) Gets the colour at the specified coordinates.