GIF (lv_gif)
Plays animated GIF images using LVGL's built-in decoder.
Overview
The GIF widget plays animated GIF images using LVGL's built-in AnimatedGIF decoder. The source can be an embedded array or a file.
Learn more in the LVGL Open documentation.
Properties
Parts
Style parts of the widget with local style (e.g. style_bg_color-knob="0xff0000") or with style sheets (e.g. <style name="style_knob" selector="knob">). See Styles to learn more.
| Part | Description |
|---|---|
main | Style the GIF: image_recolor, image_recolor_opa and image_opa. Background, border, etc can be added too. |
Properties below are the widget's XML <api>; see API for how properties, parameters and elements work.
| Property | Type | Description |
|---|---|---|
src | image | The source for the gif (raw data or a file) |
loop_count | int | Number of repeats. If not set the information form the gif will be used |
Last updated on