image conversion of PNG file
Posted: Thu Dec 24, 2020 11:04 am
I'm using the EVE2-SPI board connected to a EVE3-70G display. I'm running the EVE-BASIC-DEMO visual studio code. I'm having issues trying to displaying my own images. I'm trying to display a PNG 30x30 red square image. I've used both the img_cvt and the EVE Asset builder tool. I tried converting to RBG565, but when running the code, I received an error message: "unsupported function"...
When I used the EVE Assest Builder tool and just converted from binary to c. I used this code and was able to see a black square 30x30.
I also noticed that the conversion of the PNG that had the PNG header was just the binary to c conversion. None of the other conversions had the PNG header. The demo which included the Matrix Orbital logo in PNG format also had the PNG header.
Seem like I'm missing something in the conversion process.
Any assistance is greatly appreciated.
Thanks,
Steve
When I used the EVE Assest Builder tool and just converted from binary to c. I used this code and was able to see a black square 30x30.
I also noticed that the conversion of the PNG that had the PNG header was just the binary to c conversion. None of the other conversions had the PNG header. The demo which included the Matrix Orbital logo in PNG format also had the PNG header.
Seem like I'm missing something in the conversion process.
Any assistance is greatly appreciated.
Thanks,
Steve