[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Represents storage formats for pixels in image data.
Source position: graphics.pp line 250
type TPixelFormat = ( |
||
pfDevice, |
|
Indicates that the source device determines the pixel format. |
pf1bit, |
|
1 bit per pixel. Monochrome. |
pf4bit, |
|
4 bits per pixel. 16 colors. |
pf8bit, |
|
8 bits per pixel. 256 colors. |
pf15bit, |
|
15 bits per pixel. 32,768 colors. Also called High Color. |
pf16bit, |
|
16 bits per pixel. 65,536 colors. Also referred to as High Color. |
pf24bit, |
|
24 bits per pixel. 16,777,216 colors. Also called TrueColor. |
pf32bit, |
|
32 bits per pixel. 4,294,967,296 colors. Not a common pixel format. |
pfCustom |
|
Uses a pixel format other than the defined values. |
); |
TPixelFormat is an enumerated type with values that represent the storage format for pixels in image data. In general, it indicates the number of bits required for each pixel in an image. It also determines the color spectrum and color depth available in image data.
TPixelFormat is the type used to implement the PixelFormat property in TRasterImage, TSharedCustomBitmap, TCustomBitmap, TSharedIcon, TIconImage, TCustomIcon, et. al.
Version 3.2 | Generated 2024-02-25 | Home |