Sign in Join
FPDoc Onlineexperiment

TFPImageBitmap.InitializeReader procedure

Member of TFPImageBitmapprotectedIn unit Graphics

Configures the reader class instance for the image type.

Declaration

pascal
procedure InitializeReader(AImage: TLazIntfImage; 
 AReader: TFPCustomImageReader); virtual

Arguments

AImage

Not used in the current implementation.

AReader

FCL image reader instance updated in the method.

Description

InitializeReader is a virtual method used to configure the FCL-compatible image reader class instance in AReader. InitializeReader assigns the Progress method to the OnProgress event handler in AReader.

AImage is not used in the current implementation.

InitializeReader is called from the ReadStream method prior to any operation that reads the image descriptor, header, or data.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.