What do you want to achieve?
Proper display of a png file, which was working with LVGL 9.2.2, in image widget
What have you tried so far?
Copied and re-saved the file, tried various parameters like rotation, scale - no change
Exported several times and re-compiled - no change.
Screenshot or video
Display in SLS 1.51
Display on ESP32-S3
Others
- SquareLine Studio version: 1.51
- Operating system: Windows 11
- Target hardware: ESP32-S3
I have found the bug, it was a new setting in LV_conf.h, which was missing:
/*
* Selectively disable color format support in order to reduce code size.
* NOTE: some features use certain color formats internally, e.g.
* - gradients use RGB888
* - bitmaps with transparency may use ARGB8888
*/
#define LV_DRAW_SW_SUPPORT_RGB565 1
#define LV_DRAW_SW_SUPPORT_RGB565A8 1
#define LV_DRAW_SW_SUPPORT_RGB888 1
#define LV_DRAW_SW_SUPPORT_XRGB8888 1
#define LV_DRAW_SW_SUPPORT_ARGB8888 1
#define LV_DRAW_SW_SUPPORT_L8 0
#define LV_DRAW_SW_SUPPORT_AL88 0
#define LV_DRAW_SW_SUPPORT_A8 0
#define LV_DRAW_SW_SUPPORT_I1 0