Class TAdGraphicCompressor

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdGraphicCompressor = class(TAdPersistent)

Description

TAdGraphicCompressor is an abstract class, which allows to save bitmap data using different encoding and compressing technologies.

Hierarchy

Overview

Methods

Public procedure Write(ABitmap:TAdBitmap; AStream:TStream); virtual; abstract;
Public procedure Read(ABitmap:TAdBitmap; AStream:TStream); virtual; abstract;
Public class function ID:TAdVeryShortString; virtual; abstract;

Properties

Public property OnProgress: TAdGraphicProgress read FProgress write FProgress;

Description

Methods

Public procedure Write(ABitmap:TAdBitmap; AStream:TStream); virtual; abstract;

This should be used to write the bitmap data into the specified stream. The compressor ID is automaticly written by the caller of the procedure.

Public procedure Read(ABitmap:TAdBitmap; AStream:TStream); virtual; abstract;

This should be used to read the bitmap data from the specified stream. The compressor ID has already be read by the caller of the procedure.

Public class function ID:TAdVeryShortString; virtual; abstract;

This class function should be used to return a unique ID, which specifies the compressor.

Properties

Public property OnProgress: TAdGraphicProgress read FProgress write FProgress;

This event should be called to show the progress of encoding/decoding the bitmap data

SourceForge.net Logo


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