Sign in Join
FPDoc Onlineexperiment

TGIFImage class

In unit Graphics

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

Declaration

pascal
TGIFImage = class(TFPImageBitmap)

Inheritance

  1. TGIFImage
  2. TFPImageBitmap
  3. TCustomBitmap
  4. TRasterImage
  5. TGraphic
  6. TPersistent
  7. 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

Properties

TransparentpublicIndicates if the image is drawn with transparent pixels.
InterlacedpublicIndicates if the image uses the "venetian blind" effect during display.
BitsPerPixelpublicNumber of bits needed to represent a pixel in the image.

Methods

InitializeReaderprotectedConfigures the reader class instance for the image type.
FinalizeReaderprotectedUpdates the image when the reader has finished loading the image content.
GetReaderClassprotectedGets the class reference used to create new instances of the FCL-compatible image reader.
GetSharedImageClassprotectedGets the class reference used to create the shared image in new class instances.
CreatepublicConstructor for the class instance.
IsStreamFormatSupportedpublicDetermines if the specified Stream contains a valid GIF image format.
GetFileExtensionspublicGets the file extensions used for the GIF image format.

Inherited

From TFPImageBitmap (8)

FinalizeWriter GetMimeType GetWriterClass InitializeWriter IsFileExtensionSupported LazarusResourceTypeValid ReadStream WriteStream

From TCustomBitmap (34)

Assign BitmapHandleAllocated CanShareImage Changed Clear CreateDefaultBitmapHandle Destroy FreeImage FreeMaskHandle GetBitmapHandle GetMaskHandle GetPalette GetPixelFormat GetRawImageDescriptionPtr GetRawImagePtr Handle HandleNeeded HandleType InternalReleaseBitmapHandle InternalReleaseMaskHandle InternalReleasePalette MaskHandleAllocated MaskHandleNeeded Monochrome PaletteAllocated PaletteNeeded RawimageNeeded ReleaseHandle SetHandle SetHandles SetPixelFormat SetSize UnshareImage UpdateHandles

From TRasterImage (47)

ApplyTransparent BeginUpdate BitmapHandle BitmapHandleNeeded Canvas CreateIntfImage Draw EndUpdate FreeSaveStream GetEmpty GetHandle GetHeight GetMasked GetSize GetSupportedSourceMimeTypes GetTransparent GetWidth HandleAllocated LoadFromBitmapHandles LoadFromDevice LoadFromIntfImage LoadFromMimeStream LoadFromRawImage LoadFromStream Mask Masked MaskHandle PixelFormat RawImage ReadData ReleaseBitmapHandle ReleaseMaskHandle ReleasePalette RequestTransparentColor SaveStreamNeeded SaveToStream ScanLine SetBitmapHandle SetHeight SetMasked SetMaskHandle SetTransparent SetTransparentMode SetWidth TransparentColor TransparentMode WriteData

From TGraphic (24)

DefineProperties Empty Equals GetResourceType Height LoadFromClipboardFormat LoadFromClipboardFormatID LoadFromFile LoadFromLazarusResource LoadFromResourceID LoadFromResourceName MimeType Modified OnChange OnProgress Palette PaletteModified Progress SaveToClipboardFormat SaveToClipboardFormatID SaveToFile SetModified SetPalette Width

From TPersistent (6)

AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath GetOwner

From TObject (39)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

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