Comments (10)
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.
Related Issues (20)
- Adding border to different sides HOT 2
- Lottile on web pages https://docs.lvgl.io/master/widgets/lottie.html ,there is no button to view the C code
- Slider only changes value when moved HOT 2
- Tiny TTF lib: lv_tiny_ttf_set_size() should be removed or clear the cache HOT 14
- Input device driver callback is not working HOT 1
- X11 driver not correctly working (or I am doing it wrong) HOT 4
- Funky code in the indev pointer driver for handling rotation HOT 7
- Online Font Converter fonts not displaying correctly HOT 14
- simple container of radius one shows mixed color HOT 2
- Can lvgl support copying and pasting text using the mouse on Windows? HOT 1
- Possible bug in font-converter (or rendering text) HOT 5
- Demos widget 'Monthly Target' crashes on Elecrow ESP32 S3 Terminal HOT 5
- Tabview scrolling issue HOT 5
- The calendar component date in v8.3 version can only be displayed up to 2023. HOT 4
- Make the NuttX drivers even simpler HOT 4
- lv_image_set_scale and LV_IMAGE_ALIGN_TILE cannot be effective at the same time HOT 2
- Gridnav does not send LV_EVENT_FOCUSED HOT 2
- Smooth font, Smooth display of text during rendering HOT 1
- Canvas examples HOT 3
- draw line got strange effect HOT 1
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.