Unit AdBMPImage

DescriptionusesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Provides an image class to load and save BMP files.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class EAdBMPImage Exception class used within the BMP loader module.
Class EAdBMPInvalidHeaderSize Raised when one of the headers has an invalid size.
Class EAdBMPInvalidCompressorMode Raised when the bitmap has a not supported compressor mode.
Class EAdBMPInvalidBitDepth Raised when the specified bit depth is not supported.
packed record TAdBitmapFileHeader BMP header that describes the BMP file.
packed record TAdBitmapInfoHeader BMP header that describes the BMP image dimensions.
Class TAdBMPImage Class that is able to load and save Windows bitmaps

Types

TAdBitmapPalette = array of TRGBARec;

Constants

BMPHeader = $4D42;
BMPBitDepths = [1, 4, 8, 16, 24, 32];
BMPCompressions = [0, 3];

Description

Types

TAdBitmapPalette = array of TRGBARec;

Array that is used to represent the palette of a bitmap file.

Constants

BMPHeader = $4D42;

The first chars of a bmp file: "BM"

BMPBitDepths = [1, 4, 8, 16, 24, 32];

Contains the bit depths that are supported by TAdBMPImage

BMPCompressions = [0, 3];

The compressor modes that are supported by TAdBMPImage

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:31:58