Vcl.Graphics.TPixelFormat

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

TPixelFormat = (pfDevice, pf1bit, pf4bit, pf8bit, pf15bit, pf16bit, pf24bit, pf32bit, pfCustom);

C++

enum DECLSPEC_DENUM TPixelFormat : unsigned char { pfDevice, pf1bit, pf4bit, pf8bit, pf15bit, pf16bit, pf24bit, pf32bit, pfCustom };

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
enum public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics Vcl.Graphics


Beschreibung

TPixelFormat gibt das Format einer Bitmap-Grafik an.

TPixelFormat kann einen der folgenden Werte annehmen:

Wert Bedeutung

pfDevice

Die Grafik wird als geräteabhängiges Bitmap gespeichert.

pf1bit

Geräteunabhängiges Bitmap mit einem Bit pro Pixel (Schwarzweiß-Palette).

pf4bit

Geräteunabhängiges Bitmap, das eine Palette mit 16 Farben verwendet.

pf8bit

Geräteunabhängiges Bitmap, das eine Palette mit 256 Farben verwendet

pf15bit

Geräteunabhängiges True-Color-Bitmap mit 15 Bits pro Pixel (RGB-Komprimierung).

pf16bit

Geräteunabhängiges True-Color-Bitmap mit 16 Bits pro Pixel (Bitfeld-Komprimierung).

pf24bit

Geräteunabhängiges True-Color-Bitmap mit 24 Bits pro Pixel.

pf32bit

Geräteunabhängiges True-Color-Bitmap mit 32 Bits pro Pixel (RGB-Komprimierung).

pfCustom

Anderes Format. pfCustom wird von TBitmap nicht unterstützt.

Siehe auch