Hi guys,
I used the https://lvgl.io/tools/imageconverter to convert PNG file to c array file, the array value always 0x00. If the upload JPEG file, works fine.
Hi guys,
I used the https://lvgl.io/tools/imageconverter to convert PNG file to c array file, the array value always 0x00. If the upload JPEG file, works fine.
Maybe the PNG file has a special color format. I suggest opening and saving it with an image editor software.
cc @embeddedt
If it still doesn’t work, is it possible to send the PNG file so I can investigate it?
@embeddedt Thanks for your reply, here is my PNG file
This issue is caused by the fact that your image consists of a black icon on top of a black background. The background is normally hidden by the alpha (transparency) channel, but in your case I assume you converted using “true color” mode which ignores the alpha channel.
There are two ways to fix this:
Additionally, I can offer suggestions for other free software tools, such as methods for convert cr3 to png format. Feel free to ask for more recommendations or assistance with any video editing-related queries.
Here third is more space effective convert to ALPHA only
If it still doesn’t work, is it possible to send the PNG file so I can investigate it?
Hi,
The issue with PNG files converting to 0x00
might be due to formatting. Ensure your PNG has the proper color format (RGBA or RGB) or try converting it to JPEG before using the LVGL converter.
For quick and reliable conversions, check out Let’s Convert—it supports multiple file formats and is easy to use.
Hope this helps!