TPortableNetworkGraphic.InitializeWriter procedure
Configures the writer class instance for the image type.
Declaration
procedure InitializeWriter(AImage: TLazIntfImage;
AWriter: TFPCustomImageWriter); overrideDescription
InitializeWriter is a virtual method used to configure the
FCL-compatible image writer class instance in
AWriter.
InitializeWriter assigns the
Progress method to the
OnProgress event handler in
AWriter. When AWriter
implements the
ILazImageWriter interface, its
Initialize method is called to store the data for the LCL
interface image in
AImage.
InitializeWriter is called from the WriteStream method prior to
any operation that writes the raw image data to a stream.
This description is the one of Graphics.TFPImageBitmap.InitializeWriter.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
