[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TBitmap.GetReaderClass

Gets the class reference used to create the FCL-compatible reader for the image.

Declaration

Source position: graphics.pp line 1476

protected class function TBitmap.GetReaderClass: TFPCustomImageReaderClass; override;

Function result

Class reference used to create instances of the reader class.

Description

GetReaderClass is an overridden TFPCustomImageReaderClass class function used to get the FCL-compatible reader for the image type. The return value is a TLazReaderBMP class reference in TBitmap.

GetReaderClass is called from the ReadStream method when the reader is created and initialized. It is used to load a TLazIntfImage instance with the image content supplied in a stream. It is also used in the IsStreamFormatSupported method to determine if the stream contains an image format that can be read using the reader class type.

See also

TFPImageBitmap.GetReaderClass

  

Gets the class reference used to create new instances of the FCL-compatible image reader.

TFPImageBitmap.ReadStream

  

Read the image data from the specified Stream.

TFPImageBitmap.IsStreamFormatSupported

  

Determines if the specified stream contains image data supported for the image type.

TLazReaderBMP

  

TLazReaderBMP - This is an improved FPImage reader for bmp images.

TLazReaderDIB

  

ILazImageReader

  


Version 3.2 Generated 2024-02-25 Home