Sign in Join
FPDoc Onlineexperiment

PIXELFORMAT_BPP constant

In unit Graphics

Constant with the number of bits per pixel for TPixelFormat enumeration values.

Declaration

pascal
PIXELFORMAT_BPP: Array[TPixelFormat] of Byte = (0, 1, 4, 8, 15, 16, 24, 32, 0)

Description

PIXELFORMAT_BPP is a constant which contains an array of Byte values representing the number of bits used for pixel data in an image. Elements in the array are indexed values in the TPixelFormat enumeration, and contain the number of bits per pixel for the associated pixel format.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.