[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'FPimage' (#fcl)

# TFPMemoryImage

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

TFPMemoryImage - FreePascal base class for an image held in memory

## Declaration

Source position: fpimage.pp line 166

`type TFPMemoryImage = class(TFPCustomImage)`
`protected`
`procedure SetInternalPixel(); override;` |  | Set the color of a pixel, in its internal encoding.
`function GetInternalPixel(); override;` |  | Returns the internal (encoded) color value of the specified pixel.
`public`
`constructor create(); override;` |  | Initializes for an image of the given size in pixels.
`destructor destroy; override;` |  | Frees the palette.
`procedure SetSize(); override;` |  | Set the size of the image in pixels.
`end;`

## Inheritance

`TFPMemoryImage` |  | TFPMemoryImage - FreePascal base class for an image held in memory
`TFPCustomImage` |  | Abstract FreePascal base class for all image classes.
`TPersistent`
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net .