feat(snapshot): add argb8565 support (#6899)

Signed-off-by: wxd <xaowang96@gmail.com>
This commit is contained in:
xaowang
2024-09-23 10:18:29 +08:00
committed by GitHub
parent 5baa9bf3f2
commit 046d10bf7e

View File

@@ -79,6 +79,7 @@ lv_result_t lv_snapshot_take_to_draw_buf(lv_obj_t * obj, lv_color_format_t cf, l
switch(cf) { switch(cf) {
case LV_COLOR_FORMAT_RGB565: case LV_COLOR_FORMAT_RGB565:
case LV_COLOR_FORMAT_ARGB8565:
case LV_COLOR_FORMAT_RGB888: case LV_COLOR_FORMAT_RGB888:
case LV_COLOR_FORMAT_XRGB8888: case LV_COLOR_FORMAT_XRGB8888:
case LV_COLOR_FORMAT_ARGB8888: case LV_COLOR_FORMAT_ARGB8888: