Beginner question:
Hello, I’m trying to understand how to use the A8 cf when drawing a logo image but didn’t understand the workflow behind it.
I’m using an ESP32 with ESP-IDF and i set in the sdkconfig
CONFIG_LV_DRAW_SW_SUPPORT_A8
I’m using LVGL 9.2.0
I’ve generated the images using the python tool:
LVGLImage.py --ofmt C --cf A8 -v
My current attemp to use the image is this
lv_obj_t *logo = lv_image_create(background);
lv_obj_set_style_image_recolor(logo, LOGO_COLOR);
lv_image_set_bitmap_map_src(logo, &logo_400_179);
But I also tried to reorder the functions and also to use directly lv_image_set_src and also both functions together but without success,
How are A8 images meant to be used?