Git Product home page Git Product logo

Comments (10)

XuNeo avatar XuNeo commented on June 19, 2024

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.

kisvegabor avatar kisvegabor commented on June 19, 2024

I'm not sure officially it's worth maintaining a C++ converter too.

What is your use case for the C++ converter?

from lvgl.

xinsuinizhuan avatar xinsuinizhuan commented on June 19, 2024

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.

xinsuinizhuan avatar xinsuinizhuan commented on June 19, 2024

also font generate tools, with c++

from lvgl.

xinsuinizhuan avatar xinsuinizhuan commented on June 19, 2024

Some one get the tool, but is for lvlg 8.0

from lvgl.

xinsuinizhuan avatar xinsuinizhuan commented on June 19, 2024

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.

kisvegabor avatar kisvegabor commented on June 19, 2024
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.

xinsuinizhuan avatar xinsuinizhuan commented on June 19, 2024

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.

kisvegabor avatar kisvegabor commented on June 19, 2024

Sorry, copy paste issue. Yes, true color -> native.

from lvgl.

lvgl-bot avatar lvgl-bot commented on June 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.