TPixelFormat specifies the format of a bitmap.
TPixelFormat = ( pfDevice, pf1bit, pf4bit, pf8bit, pf15bit, pf16bit, pf24bit, pf32bit, pfCustom );
enum TPixelFormat { pfDevice, pf1bit, pf4bit, pf8bit, pf15bit, pf16bit, pf24bit, pf32bit, pfCustom };
TPixelFormat can have one of the following values:
Value |
Meaning |
pfDevice |
The bitmap is stored as a device-dependent bitmap. |
pf1bit |
The bitmap is a device-independent bitmap with one bit per pixel (black and white palette) |
pf4bit |
The bitmap is a device-independent bitmap that uses a 16-color palette. |
pf8bit |
The bitmap is a device-independent bitmap that uses a 256color palette. |
pf15bit |
The bitmap is a device-independent true-color bitmap that uses 15 bits per pixel (RGB compression). |
pf16bit |
The bitmap is a device-independent true-color bitmap that uses 16 bits per pixel (bitfield compression). |
pf24bit |
The bitmap is a device-independent true-color bitmap that uses 24 bits per pixel. |
pf32bit |
The bitmap is a device-independent true-color bitmap that uses 32 bits per pixel (RGB compression). |
pfCustom |
The bitmap uses some other format. TBitmap does not support pfCustom. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|