RedGIFImage:
Filter:
redSys/Classes (extension) | Red > redTools

RedGIFImage
ExtensionExtension

helper class for RedGIF

Description

Holds the actual pixel data and other image specific settings. A RedGIF consist of one or more RedGIFImage objects.

NOTE: Do not instantiate. It is only a helper class for RedGIF.

Class Methods

.new

Arguments:

bounds

A Rect.

flags

An Integer.

Instance Methods

.bounds

Image dimensions as a Rect.

.flags

Semi-private image settings. Use the methods -depth, -hasColorMap, -interlaced below instead.

.codeSize

An Integer.

.colorMap

Image specific (a.k.a. local) array of Color objects.

.data

The pixel data as a 1-dimensional array of Color objects. Reading from left to right, top to bottom.

.indices

The pixel data as an array of integer indices for looking up colors in the colorMap.

.control

A RedGIFControl object.

.depth

Number of colors in the colorMap array (the color lookup table).

.hasColorMap

A boolean. true if local -colorMap should be used. if false then globalColorMap.

.interlaced

A boolean. Indicates that this image needs to be drawn in separate passes.

.sorted

A boolean.