App:Library:LVGL:docs:3rd party libraries:GIF decoder
https://docs.lvgl.io/8.2/libs/gif.html
GIF decoder
英文 | 自動翻訳 |
---|---|
Allow using GIF images in LVGL. Based on https://github.com/lecram/gifdec When enabled in
Convert GIF files to C arrayTo convert a GIF file to byte values array use LVGL's online converter. Select "Raw" color format and "C array" Output format. |
Use GIF images from file
英文 | 自動翻訳 |
---|---|
For example: lv_gif_set_src(obj, "S:path/to/example.gif"); Note that, a file system driver needs to be registered to open images from files. Read more about it here or just enable one in |
Memory requirements
英文 | 自動翻訳 |
---|---|
To decode and display a GIF animation the following amount of RAM is required:
|
Example
英文 | 自動翻訳 |
---|---|
Open a GIF image from file and variable |
API
英文 | 自動翻訳 |
---|---|
Functions
Variables
|