Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
XuNeo opened this issue Apr 29, 2024 · 1 comment · Fixed by #6175
Closed

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

XuNeo opened this issue Apr 29, 2024 · 1 comment · Fixed by #6175

Comments

@XuNeo
Copy link
Collaborator

XuNeo commented Apr 29, 2024

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)

@kisvegabor
Copy link
Member

Thanks for opening this issue!

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants