sifat Posted October 30, 2023 Report Posted October 30, 2023 Hello, I develop a TFT display with LT7381 driver and I successfully init the display and also draw all the geometric graph but I failed to print image on display. please help to fullfgill my project.
Joel Bodenmann Posted October 30, 2023 Report Posted October 30, 2023 Hello & Welcome to the µGFX community! Unfortunately, we're unable to help at all without being given some information. If you are able to draw rectangles, lines, circles and so on you definitely have the "hard part" done. Most likely you're just missing the correct configuration settings. Check the documentation or provide more information
sifat Posted October 30, 2023 Author Report Posted October 30, 2023 I just print an image that I convert with 16 bit 565 color hex code and port this on my existing function but not working, the image looks blues.
Joel Bodenmann Posted October 30, 2023 Report Posted October 30, 2023 The µGFX library provides several image decoders and mechanisms to load, decode & draw an image. To get started, you might want to enable ROMFS and use the file2c utility to put an image into your flash. Then display that using the GDISP API to draw the image. You do not (necessarily) need any 3rd-party tooling for this. See: https://wiki.ugfx.io/index.php/Images https://wiki.ugfx.io/index.php/GFILE https://wiki.ugfx.io/index.php/ROMFS Examples are available too.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now