TGIFImage class
Implements an image using the GIF (Graphics Interchange Format) image format.
Declaration
TGIFImage = class(TFPImageBitmap)Inheritance
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
Transparent | public | Indicates if the image is drawn with transparent pixels. |
Interlaced | public | Indicates if the image uses the "venetian blind" effect during display. |
BitsPerPixel | public | Number of bits needed to represent a pixel in the image. |
Methods
InitializeReader | protected | Configures the reader class instance for the image type. |
FinalizeReader | protected | Updates the image when the reader has finished loading the image content. |
GetReaderClass | protected | Gets the class reference used to create new instances of the FCL-compatible image reader. |
GetSharedImageClass | protected | Gets the class reference used to create the shared image in new class instances. |
Create | public | Constructor for the class instance. |
IsStreamFormatSupported | public | Determines if the specified Stream contains a valid GIF image format. |
GetFileExtensions | public | Gets 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.
