App:Library:LVGL:docs:Others:Snapshot
提供: robot-jp wiki
ナビゲーションに移動検索に移動https://docs.lvgl.io/8.2/others/snapshot.html
英文 | 自動翻訳 |
---|---|
Snapshot
Snapshot provides APIs to take snapshot image for LVGL object together with its children. The image will look exactly like the object.
Usage
Simply call API lv_snapshot_take
to generate the image descriptor which can be set as image object src using lv_img_set_src
.
Note, only below color formats are supported for now:
- LV_IMG_CF_TRUE_COLOR_ALPHA
- LV_IMG_CF_ALPHA_1BIT
- LV_IMG_CF_ALPHA_2BIT
- LV_IMG_CF_ALPHA_4BIT
- LV_IMG_CF_ALPHA_8BIT