[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'GraphType' (#lazutils)

TRawImageDescription.MaskBitsPerPixel

Bits per mask pixel, usually 1, 0 when no mask.

Declaration

Source position: graphtype.pp line 140

TRawImageDescription.MaskBitsPerPixel : Byte;

Description

Mask-related properties are only valid if there is a mask (MaskBitsPerPixel > 0).

A pixel Mask currently has a logical depth of 1 bit per pixel, but a pixel can occupy an entire byte. As opposed to the Alpha (transparency) channel, a Mask is stored in its own array. A Mask value of 1 means that the pixel is masked (transparent); a value of 0 means the pixel value is shown (opaque).


Version 3.2 Generated 2024-02-25 Home