QuantizedImageData

constructor(imageColorIndices: ByteArray, width: Int, height: Int, x: Int, y: Int, colorTable: ByteArray, transparentColorIndex: Int)(source)

Parameters

imageColorIndices

The indices of the colors in the image. Each index corresponds to a color in the colorTable.

width

The width of the image in pixels.

height

The height of the image in pixels.

x

The x-coordinate of the top-left corner of the image within the GIF canvas.

y

The y-coordinate of the top-left corner of the image within the GIF canvas.

colorTable

The color table of the image, where each color is represented by three consecutive bytes: red, green, and blue.

transparentColorIndex

The index of the transparent color. A value of -1 indicates that there is no transparency in the image.