TRasterImage.PixelFormat property
Storage format for the Pixels in the Image.
Declaration
property PixelFormat: TPixelFormat read GetPixelFormat write SetPixelFormat default pfDevice;Description
PixelFormat is a
TPixelFormat property which contains
the storage format for colors in
Pixels. The default value is
pfDevice and indicates that the source device determines the pixel
format. The value is PixelFormat indicates the number of bits required to
store the color, and the maximum number of colors allowed for a given pixel.
See TPixelFormat for the values in the enumeration and their meanings.
PixelFormat is essentially a read-only property in TRasterImage.
The read and write access specifiers are declared as abstract virtual
methods, and are overridden in descendent classes to access raw image data
for a specific image format.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
