Sign in Join
FPDoc Onlineexperiment

TGIFImage.FinalizeReader procedure

Member of TGIFImageprotectedIn unit Graphics

Updates the image when the reader has finished loading the image content.

Declaration

pascal
procedure FinalizeReader(AReader: TFPCustomImageReader); override

Arguments

AReader

FCL-compatible reader for the image type.

Description

Ensures that image properties discovered using the reader class are applied to the properties in the GIF image.

Calls the inherited method on entry. Copies values found in AReader to the following properties:

  • Transparent
  • Interlaced
  • BitsPerPixel

FinalizeReader is called from the ReadStream method when the reader class has loaded the image content into a TLazIntfImage instance.

See also

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