TFPImageBitmap class
Implements a Bitmap using the FPImage reader and writer from the FCL.
Declaration
TFPImageBitmap = class(TCustomBitmap)Inheritance
- TFPImageBitmap
- TCustomBitmap
- TRasterImage
- TGraphic
TPersistent
Descends from it: TBitmap TGIFImage TJPEGImage TPixmap TPortableAnyMapGraphic TPortableNetworkGraphic TTiffImage
Description
Use this class to easily create a TCustomBitmap descendant using
an FPImage reader and writer.
Methods
GetMimeType | protected | Gets the MIME type used for the image data in the image type. |
GetReaderClass | protected | Gets the class reference used to create new instances of the FCL-compatible image reader. |
GetWriterClass | protected | Gets the class reference used to create new instances of the FCL-compatible image writer. |
InitializeReader | protected | Configures the reader class instance for the image type. |
InitializeWriter | protected | Configures the writer class instance for the image type. |
FinalizeReader | protected | Finalizes the FCL image reader when a read operation has been completed. |
FinalizeWriter | protected | FinalizeWriter - ends the Image writing process. |
ReadStream | protected | Read the image data from the specified Stream. |
WriteStream | protected | Write the data to a stream. |
GetFileExtensions | public | Returns a list of the file extensions available for the image type. |
IsStreamFormatSupported | public | Determines if the specified stream contains image data supported for the image type. |
IsFileExtensionSupported | public | Indicates whether the given file extension is supported for the image type. |
LazarusResourceTypeValid | public | Determines if the specified resource type is valid for the image format. |
Inherited
From TCustomBitmap (36)
Assign BitmapHandleAllocated CanShareImage Changed Clear Create CreateDefaultBitmapHandle Destroy FreeImage FreeMaskHandle GetBitmapHandle GetMaskHandle GetPalette GetPixelFormat GetRawImageDescriptionPtr GetRawImagePtr GetSharedImageClass 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 (25)
DefineProperties Empty Equals GetResourceType Height LoadFromClipboardFormat LoadFromClipboardFormatID LoadFromFile LoadFromLazarusResource LoadFromResourceID LoadFromResourceName MimeType Modified OnChange OnProgress Palette PaletteModified Progress SaveToClipboardFormat SaveToClipboardFormatID SaveToFile SetModified SetPalette Transparent Width
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
