Skip to content

lvgl.image

Syntax

lvgl.image([parent], {settings})

parent:image({settings})

Parameters

See the API page for parameter description and common settings.

Image specific settings:

NameTypeDescriptionDefault if not set
fileStringFile name of the image to display. Must include full path to image file on the SD card.Empty string
fillBooleanIf true the image is scaled to completely fill the frame. The image may be cropped.
If false it is scaled to fit entirely in the frame. The result may have empty borders.
false

Notes:

Width (w) and height (h) are required.

Return values

LVGL object

API Status

AvailStatusComment
BW radiosfalse
Color radiostrueactive

Change log

EdgeTX versionChange
2.11.0Introduced