lvgl / lvgl

Embedded graphics library to create beautiful UIs for any MCU, MPU and display type.

Home Page:https://lvgl.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add RAW and RAW_ALPHA color format support in LVGLImage.py tool

XuNeo opened this issue · comments

Currently, the image converter tool does not support RAW and RAW_ALPHA color format. It's needed when we want to convert PNG image to a C array and load it directly from flash.

However, something is not clear to me either. @XuNeo, can we use LVGLImage.py to create a raw image (e.g. PNG data as it is) as a C array with lv_image_dsc_t?

Originally posted by @kisvegabor in lvgl/lv_web_emscripten#23 (comment)

Thanks for opening this issue!

As the new version of ThorVG requires premultipled images, I think we shall add an option for it too.