Sign in Join
FPDoc Onlineexperiment

TFPImageBitmap class

In unit Graphics

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

Declaration

pascal
TFPImageBitmap = class(TCustomBitmap)

Inheritance

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

GetMimeTypeprotectedGets the MIME type used for the image data in the image type.
GetReaderClassprotectedGets the class reference used to create new instances of the FCL-compatible image reader.
GetWriterClassprotectedGets the class reference used to create new instances of the FCL-compatible image writer.
InitializeReaderprotectedConfigures the reader class instance for the image type.
InitializeWriterprotectedConfigures the writer class instance for the image type.
FinalizeReaderprotectedFinalizes the FCL image reader when a read operation has been completed.
FinalizeWriterprotectedFinalizeWriter - ends the Image writing process.
ReadStreamprotectedRead the image data from the specified Stream.
WriteStreamprotectedWrite the data to a stream.
GetFileExtensionspublicReturns a list of the file extensions available for the image type.
IsStreamFormatSupportedpublicDetermines if the specified stream contains image data supported for the image type.
IsFileExtensionSupportedpublicIndicates whether the given file extension is supported for the image type.
LazarusResourceTypeValidpublicDetermines 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.