I am ready to use lvgl instead of emwin for my project.
A problem for me is that the image handled by the image converter is too big for my hardware.
I dig the into the bitmap from the segger image converter. The image is compressed by RLE. And its palette is always like:
static GUI_CONST_STORAGE GUI_COLOR _ColorsPalette[] = {
0x000000, 0x111111, 0x222222, 0x333333,
0x444444, 0x555555, 0x666666, 0x777777,
0x888888, 0x999999, 0xAAAAAA, 0xBBBBBB,
0xCCCCCC, 0xDDDDDD, 0xEEEEEE, 0xFFFFFF
};
So I always use one palette for all the images.
Is there any suggestion to compress the images for lvgl?