PixelChannel
Public / Constants
Intensity
Grayscale intensity (defaults to 0
).
During scanline processing (see Scanline), this channel is 24-bits wide. Afterwards it is 16-bits wide.
Red
Red channel (defaults to 0
).
During scanline processing (see Scanline), this channel is 24-bits wide. Afterwards it is 16-bits wide.
Green
Green channel (defaults to 0
).
During scanline processing (see Scanline), this channel is 24-bits wide. Afterwards it is 16-bits wide.
Blue
Blue channel (defaults to 0
).
During scanline processing (see Scanline), this channel is 24-bits wide. Afterwards it is 16-bits wide.
Alpha
Alpha channel (defaults to 16777215
).
During scanline processing (see Scanline), this channel is 24-bits wide. Afterwards it is 16-bits wide.
Void
Void mask channel (defaults to 16777215
).
The void mask channel only has one bit per pixel, which is computed from pixel channel values using this formula:
void := (value + 8388607) / 16777215
Pixel channel values in the range [0..8388607] are thus mapped to void pixels, and values within [8388608..16777215] are mapped to existent pixels.