lvgl.image¶
Syntax¶
lvgl.image([parent], {settings})
parent:image({settings})
Parameters¶
See the API page for parameter description and common settings.
Image specific settings:
| Name | Type | Description | Default if not set |
|---|---|---|---|
| file | String | File name of the image to display. Must include full path to image file on the SD card. | Empty string |
| fill | Boolean | If 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¶
| Avail | Status | Comment | |
|---|---|---|---|
| BW radios | false | ||
| Color radios | true | active |
Change log¶
| EdgeTX version | Change |
|---|---|
| 2.11.0 | Introduced |