-
Notifications
You must be signed in to change notification settings - Fork 42
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
ARGB1555 and ARGB4444 support #19
Comments
Sure, I think I can add support for these very easily. One thing is unclear: currently the output format is dependent on |
@kisvegabor Bump - just wanted to make sure my response wasn't missed. |
Sorry, I had some busy days.
Not always. E.g. indexed an alpha only images are exported as they are regardless to An other format request came up here. It short, in case of ARGB8565 images the pixels has 3 byte size which odd and slow to read. Instead we can have a special format for this where RGB565 pixels are written normally, and A8 pixels are written after them in the same array. We can use the image widdth/heigth to know where the alpha array starts. Can it be added with the other 2 format? I think these names for the color format could work:
|
I've implemented support for the RGB565A8 format now. Let me know once support is added in LVGL and I will add a snapshot test so it never breaks (in theory). |
Fixed! Sorry about that; somehow I only managed to check the alpha channel during my read of the file. |
No prole, thank for the fix. It's working now. I'm implementing the transformation of rgb565-a8 image. |
RGB565-A8 support is added here: https://github.com/lvgl/lvgl/tree/feat/rgb565a8 |
Hi @embeddedt, https://lvgl.io/tools/imageconverter Thank you. |
You will need to use this link: https://lvgl.github.io/lv_img_conv/ until Gabor has a chance to update the main website. It should be the last color format in the list. |
I just updated the version on lvgl.io |
Thank you. I found it. |
Hi i a am not sure if regression is related to this update but seems so. https://lvgl.io/tools/imageconverter do not output true color binary anymore. |
@luka177 Could you let me know which settings you are using and what is the exact change in behavior? Thanks! |
@luka177 Thanks, this was indeed a regression, sorry about that (there are no unit tests on that part of the code right now). Here is a link that should work till the website is updated again: https://lvgl.github.io/lv_img_conv/ |
I've updated the online converter too. |
Thanks seems to work now. |
For 16 bit color depth + Alpha now only the non-standard ARGB8565 format can be used. I think it'd be great to support ARGB1555 and ARGB4444 in LVGL hence GPUs could accelerate the drawing of 16 bit ARGB images too.
So the question is how difficult would it be to add support for these formats in the converter?
If the converter supported them, I could quickly made them work in LVGL.
The text was updated successfully, but these errors were encountered: