I’m editing the lv printer demo as I really like the layout and the animations.
I’ve only edited the theme so far and the main page.
I replaced the button background with my own, but it’s not displaying as it should. I made the button image in Photopea and exported it as a PNG, then converted it online setting it to True Color with Alpha and output as C array.
All I did was declare the image just as the standard button images are declared and then changed the image source in the function that creates the four buttons.
To rule out an issue with the theme or any other code, I created a blank screen and loaded the image - same thing happened.
Perhaps there is an issue with the online image convertor, or with the output settings of the PNG image from Photopea?
What MCU/Processor/Board and compiler are you using?
Screenshot and/or video
Here is the original PNG file I created on Photopea
And here is the output on the PC simulator