AlphaChannel

A struct representing an alpha channel as stored in the image resources section. NOTE: Note that the image data for alpha channels is stored in the image data section.

Members

Enums

Mode
enum Mode
Undocumented in source.

Variables

asciiName
string asciiName;

The channel's ASCII name.

color
ushort[4] color;

16-bit color data with 0 being black and 65535 being white (assuming RGBA).

colorSpace
ushort colorSpace;

The color space the colors are stored in.

mode
Mode mode;

The channel's mode, one of AlphaChannel::Mode.

opacity
ushort opacity;

The channel's opacity in the range [0, 100].

Meta