record TPixelFormatDescription

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TPixelFormatDescription = record

Description

Complete information about specific pixel format.

Overview

Fields

FormatType: TPixelFormatType;
BitCount: Integer;
UsedBitCount: Integer;
RedBits: TPixelFormatColorBits;
GreenBits: TPixelFormatColorBits;
BlueBits: TPixelFormatColorBits;
AlphaBits: TPixelFormatColorBits;
LuminanceBits: TPixelFormatColorBits;

Methods

procedure CalculateUsedBitCount;

Description

Fields

FormatType: TPixelFormatType;

Classification type of pixel format.

BitCount: Integer;

Total number of bits occupied by each pixel in this format.

UsedBitCount: Integer;

Actual number of useful bits that this format occupies.

RedBits: TPixelFormatColorBits;

Bit information for red channel.

GreenBits: TPixelFormatColorBits;

Bit information for green channel.

BlueBits: TPixelFormatColorBits;

Bit information for blue channel.

AlphaBits: TPixelFormatColorBits;

Bit information for alpha-channel.

LuminanceBits: TPixelFormatColorBits;

Bit information for luminance channel.

Methods

procedure CalculateUsedBitCount;

Calculates the number of useful bits.


Copyright © 2000 - 2017 Yuriy Kotsarenko. Help files generated by PasDoc.