Skip to main content

TdxOfficePixelFormat Enum

Enumerates pixel formats of an image stored in the Office Image container.

Declaration

TdxOfficePixelFormat = (
    DontCare = 0,
    Undefined = 0,
    Max = 15,
    Indexed = 65536,
    Gdi = 131072,
    Format16bppRgb555 = 135173,
    Format16bppRgb565 = 135174,
    Format24bppRgb = 137224,
    Format32bppRgb = 139273,
    Format1bppIndexed = 196865,
    Format4bppIndexed = 197634,
    Format8bppIndexed = 198659,
    Alpha = 262144,
    Format16bppArgb1555 = 397319,
    PAlpha = 524288,
    Format32bppPArgb = 925707,
    Extended = 1048576,
    Format16bppGrayScale = 1052676,
    Format48bppRgb = 1060876,
    Format64bppPArgb = 1851406,
    Canonical = 2097152,
    Format32bppArgb = 2498570,
    Format64bppArgb = 3424269
);

Members

Name
DontCare
Undefined
Max
Indexed
Gdi
Format16bppRgb555
Format16bppRgb565
Format24bppRgb
Format32bppRgb
Format1bppIndexed
Format4bppIndexed
Format8bppIndexed
Alpha
Format16bppArgb1555
PAlpha
Format32bppPArgb
Extended
Format16bppGrayScale
Format48bppRgb
Format64bppPArgb
Canonical
Format32bppArgb
Format64bppArgb

Remarks

Options include:

Value Description
DontCare No pixel format is specified for the image.
Undefined The pixel format is undefined (for instance, if the Office Image container is empty).
Max The maximum TdxOfficePixelFormat enumeration value.
Indexed
Gdi
Format16bppRgb555 The 16-bit color depth for High color RGB images. This format uses 15 bits to store the red, green, and blue color channel information. The remaining bit is ignored.
Format16bppRgb565 The 16-bit color depth for High color RGB images. This format uses 5, 6, and 5 bits to store the red, green, and blue color channel information, respectively.
Format24bppRgb The 24-bit color depth for True color RGB images.
Format32bppRgb The 32-bit color depth for True color RGB images. This format uses 24 bits to store the red, green, and blue color channel information. The remaining 8 bits are ignored.
Format1bppIndexed The 1-bit color depth for color-mapped images. The color palette consists of only two colors.
Format4bppIndexed The 4-bit color depth for color-mapped images.
Format8bppIndexed The 8-bit color depth for color-mapped images. The color palette consists of 256 colors.
Alpha
Format16bppArgb1555 The 16-bit color depth for High color RGB images. This format is similar to Format16bppRgb555, but uses the last bit to store transparency information.
PAlpha
Format32bppPArgb
Extended This value is not in use (it is, reserved).
Format16bppGrayScale The 16-bit color depth for grayscale images (up to 65536 different colors).
Format48bppRgb
Format64bppPArgb
Canonical
Format32bppArgb The 32-bit color depth for True color RGBA images.
Format64bppArgb The 64-bit color depth for RGBA images. The format uses 16 bits to store each color channel.

The Office Image container’s PixelFormat property references the TdxOfficePixelFormat type.

See Also