[Overview][Types][Classes][Index] | Reference for unit 'LazCanvas' (#lcl)

# TLazCanvasImageFormat

Identifies image formats supported in TLazCanvas.

## Declaration

Source position: lazcanvas.pas line 51

`type TLazCanvasImageFormat = (`
`clfOther,` |  | Images use a format other than those in this enumeration.
`clfRGB16_R5G6B5,` |  | Images use 16-bit RGB colors.
`clfRGB24,` |  | Images use 24-bit RGB colors.
`clfRGB24UpsideDown,` |  | Images use 24-bit RGB colors with inverse values.
`clfBGR24,` |  | Images use 24-bit BGR colors.
`clfBGRA32,` |  | Images use 32-bit BGR colors with an Alpha channel.
`clfRGBA32,` |  | Images use 32-bit RGB colors with an Alpha channel.
`clfARGB32` |  | Images use 32-bit RGB colors with an Alpha channel in the low-order octet.
`);`

## Description

Used in the implementation of the CanvasCopyRect method in TLazCanvas, and in custom-drawn LCL controls to speed up image drawing in the LCL interface.

## See also

TLazCanvas.CanvasCopyRect |  | Copies the contents of a supported image format in ASource to the canvas.