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

TGIFImage

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements an image using the GIF (Graphics Interchange Format) image format.

Declaration

Source position: graphics.pp line 1900

type TGIFImage = class(TFPImageBitmap)

protected

  procedure InitializeReader(); override;

  

Configures the reader class instance for the image type.

  procedure FinalizeReader(); override;

  

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

  class function GetReaderClass; override;

  

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

  class function GetSharedImageClass; override;

  

Gets the class reference used to create the shared image in new class instances.

public

  constructor Create; override;

  

Constructor for the class instance.

  class function IsStreamFormatSupported(); override;

  

Determines if the specified Stream contains a valid GIF image format.

  class function GetFileExtensions; override;

  

Gets the file extensions used for the GIF image format.

  property Transparent: Boolean; [r]

  

Indicates if the image is drawn with transparent pixels.

  property Interlaced: Boolean; [r]

  

Indicates if the image uses the "venetian blind" effect during display.

  property BitsPerPixel: Byte; [r]

  

Number of bits needed to represent a pixel in the image.

end;

Inheritance

TGIFImage

  

Implements an image using the GIF (Graphics Interchange Format) image format.

|

TFPImageBitmap

  

Implements a Bitmap using the FPImage reader and writer from the FCL.

|

TCustomBitmap

  

TCustomBitmap - the base class for TBitmap.

|

TRasterImage

  

TRasterImage - base class for a number of graphic controls, including TCustomBitmap and TCustomIcon, which use a raster of dots to display graphic information.

|

TGraphic

  

Abstract base class used for images in supported image formats.

|

TPersistent,IFPObserved

|

TObject

Description

TGIFImage is a TFPImageBitmap descendant which implements support for the GIF (Graphics Interchange Format) image format. GIF images support up to 8 bits per pixel in the image data, and a color palette of up to 256 colors from the 24-bit RGB color space. While GIF images allow animation, the LCL implementation does not support the feature.

See also

TFPImageBitmap

  

Implements a Bitmap using the FPImage reader and writer from the FCL.


Version 3.2 Generated 2024-02-25 Home