Class TDIBSharedImage (unit DIB)

Inherits from

TSharedImage

Constructors


constructor Compress(Source: TDIBSharedImage);


constructor Create(AWidth, AHeight, ABitCount: Integer; const PixelFormat: TDIBPixelFormat; const ColorTable: TRGBQuads; MemoryImage, Compressed: Boolean);


constructor CreateEmpty;

DIB making.

constructor Decompress(Source: TDIBSharedImage; MemoryImage: Boolean);

End of bitmap

constructor Duplicate(Source: TDIBSharedImage; MemoryImage: Boolean);


constructor ReadData(Stream: TStream; MemoryImage: Boolean);

Word arrangement


Functions

procedure FreeHandle;


destructor Destroy;

Pixel data reading

function GetPalette: THandle;


procedure SetColorTable(const Value: TRGBQuads);


Properties

Events

Variables

FBitCount : Integer;


FBitmapInfo : PBitmapInfo;


FBitmapInfoSize : Integer;


FChangePalette : Boolean;


FColorTable : TRGBQuads;


FColorTablePos : Integer;


FCompressed : Boolean;


FDC : THandle;


FHandle : THandle;


FHeight : Integer;


FMemoryImage : Boolean;


FNextLine : Integer;


FOldHandle : THandle;


FPalette : THandle;


FPaletteCount : Integer;


FPBits : Pointer;


FPixelFormat : TDIBPixelFormat;


FSize : Integer;


FTopPBits : Pointer;


FWidth : Integer;


FWidthBytes : Integer;



Constructors


constructor Compress(Source: TDIBSharedImage);


constructor Create(AWidth, AHeight, ABitCount: Integer; const PixelFormat: TDIBPixelFormat; const ColorTable: TRGBQuads; MemoryImage, Compressed: Boolean);


constructor CreateEmpty;

DIB making.


constructor Decompress(Source: TDIBSharedImage; MemoryImage: Boolean);

End of bitmap


constructor Duplicate(Source: TDIBSharedImage; MemoryImage: Boolean);


constructor ReadData(Stream: TStream; MemoryImage: Boolean);

Word arrangement


Functions


procedure FreeHandle;


destructor Destroy;

Pixel data reading


function GetPalette: THandle;


procedure SetColorTable(const Value: TRGBQuads);


Properties


Events


Variables


FBitCount : Integer;


FBitmapInfo : PBitmapInfo;


FBitmapInfoSize : Integer;


FChangePalette : Boolean;


FColorTable : TRGBQuads;


FColorTablePos : Integer;


FCompressed : Boolean;


FDC : THandle;


FHandle : THandle;


FHeight : Integer;


FMemoryImage : Boolean;


FNextLine : Integer;


FOldHandle : THandle;


FPalette : THandle;


FPaletteCount : Integer;


FPBits : Pointer;


FPixelFormat : TDIBPixelFormat;


FSize : Integer;


FTopPBits : Pointer;


FWidth : Integer;


FWidthBytes : Integer;