Comments (11)
You are very welcome to contribute a C++ version. It could be much faster than python version.
In the mean time, you may want to check the rust version image converter: https://lib.rs/crates/icu_tool
from lvgl.
I'm not sure officially it's worth maintaining a C++ converter too.
What is your use case for the C++ converter?
from lvgl.
My project is C++, and i want add a picture, then auto convert to a binary file, so my project need add the python code, and configuration python enviroment. If the lvgl is python code, the converter tool also is python, but the lvgl i c++, the tool is python, it's discordant.
from lvgl.
also font generate tools, with c++
from lvgl.
Some one get the tool, but is for lvlg 8.0
from lvgl.
but this image format how to match in lvlg 9.0?
{{LV_IMG_CF_TRUE_COLOR, "LV_IMG_CF_TRUE_COLOR"},
{LV_IMG_CF_TRUE_COLOR_ALPHA, "LV_IMG_CF_TRUE_COLOR_ALPHA"},
{LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED, "LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED"},
{LV_IMG_CF_INDEXED_1BIT, "LV_IMG_CF_INDEXED_1BIT"},
{LV_IMG_CF_INDEXED_2BIT, "LV_IMG_CF_INDEXED_2BIT"},
{LV_IMG_CF_INDEXED_4BIT, "LV_IMG_CF_INDEXED_4BIT"},
{LV_IMG_CF_INDEXED_8BIT, "LV_IMG_CF_INDEXED_8BIT"},
{LV_IMG_CF_ALPHA_1BIT, "LV_IMG_CF_ALPHA_1BIT"},
{LV_IMG_CF_ALPHA_2BIT, "LV_IMG_CF_ALPHA_2BIT"},
{LV_IMG_CF_ALPHA_4BIT, "LV_IMG_CF_ALPHA_4BIT"},
{LV_IMG_CF_ALPHA_8BIT, "LV_IMG_CF_ALPHA_8BIT"},
};
from lvgl.
LV_IMG_CF_INDEXED_1BIT -> LV_COLOR_FORMAT_I1
LV_IMG_CF_ALPHA_1BIT -> LV_COLOR_FORMAT_A1
LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED -> Removed
LV_IMG_CF_TRUE_COLOR -> LV_IMG_CF_TRUE_COLOR
LV_IMG_CF_TRUE_COLOR_ALPHA -> LV_COLOR_FORMAT_NATIVE_WITH_ALPHA
from lvgl.
LV_IMG_CF_TRUE_COLOR -> LV_IMG_CF_TRUE_COLOR? LV_IMG_CF_TRUE_COLOR is not exit in lvlg9?
Is this right?
LV_IMG_CF_TRUE_COLOR->LV_COLOR_FORMAT_NATIVE
LV_IMG_CF_TRUE_COLOR_ALPHA->LV_COLOR_FORMAT_NATIVE_WITH_ALPHA
from lvgl.
Sorry, copy paste issue. Yes, true color -> native.
from lvgl.
We need some feedback on this issue.
Now we mark this as "stale" because there was no activity here for 14 days.
Remove the "stale" label or comment else this will be closed in 7 days.
from lvgl.
Closing as not planned.
from lvgl.
Related Issues (20)
- Drop-down scrolling menu optimization scheme HOT 2
- Slider Events for Knob HOT 3
- lv_obj_add_style () may crash appl HOT 3
- LV_USE_DRAW_DMA2D and LV_USE_DRAW_DMA2D_INTERRUPT question HOT 6
- label bug
- v9.2.0 PXP incomplete types HOT 2
- Parent size not calculated correctly if obj not in the Y center.
- LVGL with PXP on doesn't draw (unless `LV_USE_PERF_MONITOR` is enabled) HOT 1
- `lv_draw_sw_rotate()` opposite of `lv_draw_pxp_rotate()`
- lv_anim_t's completed_cb is not called anymore when no exec_cb is set and used with anim_timeline HOT 1
- Return values from lv_malloc_zeroed in lv_draw not checked
- Library will not compile if LV_DRAW_SW_COMPLEX is disabled HOT 1
- Rotation v9.2 unexpected rotation needed HOT 2
- Lvgl deinit functions are not freeing resources
- lodepng: decoder_open: error 83: memory allocation failed
- lv_calendar_chinese.h(47,23): error C2526: “lv_calendar_gregorian_to_chinese”: C 链接函数无法返回 C++ 类“_lv_calendar_chinese_t” HOT 1
- when LV_USE_DRAW_SDL set,labels are in canvas and imgbtns didnot show
- meter BUG
- Refresh
- V8.2Refresh
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lvgl.