-
Notifications
You must be signed in to change notification settings - Fork 43
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
Development version for v9 #32
Comments
Sure, I can make these changes. To clarify, the main difference I'm seeing is that there are now options that expose each of the internal color formats (RGB565, RGB888, ARGB8888) which were previously not possible to set directly at all (they were simply forced based on the system's As I understand it these types of previously internal options should now be possible to choose manually in addition to the automated selection via I was also confused whether Native ARGB should be a top-level option to choose as well or if that was just included for the purposes of the explanation, since you mentioned "for ARGB images there is no common define which is resolved". |
Amazing, thank you!
Yes, it's correct 🙂
In the weekend I was thinking about it and I found that actually we can add a It means that we should have I've added |
I've pushed a WIP version of this to Current state of affairs:
To test it it should be enough to checkout the |
Take your time! It'd help to test things, but not a blocking thing at thins moment. 🙂 I've tried out a few things and here i what I found:
|
Hello, is there any update on this or what is the preferred way to generate images offline for v9? |
You can check out this Python script. FYI, I've implemented a highly simplified version of the online converter for v9 here: https://lvgl.io/tools/imageconverter_v9 |
@kisvegabor Moving forward, will the Python script be the new tool to be used for converting images? Or will We're building a new application now for which wanted to use the observer feature from LVGL v9, but we also want to add something to our build process to handle the conversion of the assets we need. |
The Python script is recommended. I keep lv_img_conv with a limited features set for novice users who prefer using the online converter. Once will be able to run the Python script online, lv_img_conv will be fully depreciated. |
Thanks for the clarification. I'll see where I can place a feature request to get SVG support in the Python script. As a side note, for fonts, |
Just open an issue here
Yes, it is. |
Hi @embeddedt,
In v9 the the name the usage of the color formats has been changed. Do you have a little bit of free time to add some minor modifications to the image converter and push it to a
dev
branch?These are the new color format options_
LV_COLOR_FORMAT_NATIVE
): It's resolved toLV_COLOR_FORMAT_L8/RGB565/RGB888/XRGB8888
internally according toLV_COLOR_DEPTH
. Same asLV_IMG_CF_TRUE_COLOR
in v8.LV_COLOR_FORMAT_NATIVE_WITH_ALPHA
): It's resolved toLV_COLOR_FORMAT_AL88/RGB565A8/ARGB8888
internally according toLV_COLOR_DEPTH
. Same asLV_IMG_CF_TRUE_COLOR_ALPHA
in v8.LV_COLOR_FORMAT_RGB565_CHROMA_KEYED
LV_COLOR_FORMAT_RGB888_CHROMA_KEYED
LV_COLOR_FORMAT_XRGB88888_CHROMA_KEYED
as there ARGB8888 is a better option with the same size.LV_COLOR_FORMAT_A8
): Alpha 1, 2 and 4 are removedLV_COLOR_FORMAT_I1/2/4/8
)LV_COLOR_FORMAT_L8
LV_COLOR_FORMAT_A8
LV_COLOR_FORMAT_AL88
LV_COLOR_FORMAT_RGB565
LV_COLOR_FORMAT_RGB565A8
LV_COLOR_FORMAT_RGB888
LV_COLOR_FORMAT_XRGB8888
LV_COLOR_FORMAT_ARGB8888
The text was updated successfully, but these errors were encountered: