System::Drawing::Imaging::PixelFormat enum

PixelFormat enum

Gibt das Farbdatenformat eines Pixels an.

enum class PixelFormat

Werte

NameWertBeschreibung
Indexed65536Gibt an, dass die Pixeldaten farbindizierte Werte enthalten, was bedeutet, dass sie ein Index zu Farben in der Systemfarbtabelle sind.
Gdi131072Gibt an, dass die Pixeldaten GDI-Farben enthalten.
Alpha262144Gibt an, dass die Pixeldaten Alphawerte enthalten, die nicht vorab multipliziert sind.
PAlpha524288Gibt an, dass die Pixeldaten vorab multiplizierte Alphawerte enthalten.
Erweitert1048576Reserviert.
Kanonisch2097152Gibt das Pixelformat von 32 Bit pro Pixel mit 24‑Bit Farbtiefe und einem 8‑Bit Alpha‑Kanal an.
Undefiniert0Gibt an, dass das Pixelformat undefiniert ist.
DontCare0Das Pixelformat ist nicht angegeben.
Format1bppIndexedn/aGibt an, dass das Pixelformat 1 Bit pro Pixel indizierte Farbe ist.
Format4bppIndexedn/aGibt an, dass das Pixelformat 4 Bit pro Pixel indizierte Farbe ist.
Format8bppIndexedn/aGibt an, dass das Pixelformat 8 Bit pro Pixel indizierte Farbe ist.
Format16bppGrayScalen/aGibt an, dass das Pixelformat 16 Bit pro Pixel beträgt. Die Farbinformation gibt 65536 Graustufen an.
Format16bppRgb555n/aGibt an, dass das Pixelformat 16 Bit pro Pixel mit je 5 Bit für Rot-, Grün- und Blau‑Komponenten hat und das verbleibende Bit nicht verwendet wird.
Format16bppRgb565n/aGibt an, dass das Pixelformat 16 Bit pro Pixel mit 5 Bit für Rot, 6 Bit für Grün und 5 Bit für Blau‑Komponenten hat.
Format16bppArgb1555n/aGibt an, dass das Pixelformat 16 Bit pro Pixel mit je 5 Bit für Rot-, Grün- und Blau‑Komponenten und 1 Bit für Alpha hat.
Format24bppRgbn/aGibt an, dass das Pixelformat 24 Bit pro Pixel mit je 8 Bit für Rot-, Grün- und Blau‑Komponenten hat.
Format32bppRgbn/aGibt an, dass das Pixel-Format 32 Bit pro Pixel mit je 8 Bit für die roten, grünen und blauen Komponenten beträgt und die verbleibenden 8 Bit nicht verwendet werden.
Format32bppArgbn/aGibt an, dass das Pixel-Format 32 Bit pro Pixel mit je 8 Bit für die roten, grünen und blauen Komponenten und 8 Bit für Alpha beträgt.
Format32bppPArgbn/aGibt an, dass das Pixel-Format 32 Bit pro Pixel mit je 8 Bit für die roten, grünen und blauen Komponenten und 8 Bit für Alpha beträgt. Die roten, grünen und blauen Komponenten sind gemäß dem Wert der Alpha-Komponente vor-multipliziert.
Format48bppRgbn/aGibt an, dass das Pixel-Format 48 Bit pro Pixel mit je 16 Bit für die roten, grünen und blauen Komponenten beträgt.
Format64bppArgbn/aGibt an, dass das Pixel-Format 64 Bit pro Pixel mit je 16 Bit für die roten, grünen und blauen Komponenten und 16 Bit für Alpha beträgt.
Format64bppPArgbn/aGibt an, dass das Pixel-Format 64 Bit pro Pixel mit je 16 Bit für die roten, grünen und blauen Komponenten und 16 Bit für Alpha beträgt. Die roten, grünen und blauen Komponenten sind gemäß dem Wert der Alpha-Komponente vor-multipliziert.
Format32bppCMYKn/aGibt an, dass das Pixel-Format 32 Bit pro Pixel mit je 8 Bit für die Cyan-, Magenta-, Gelb- und Schlüsselkomponenten beträgt.
Max16Der maximale Wert dieses Enums.

Siehe auch