image conversion of PNG file

FTDI/Bridgetek EVE2 & EVE3 & EVE4 SPI TFT Series by Matrix Orbital

Moderator: Mods

Post Reply
azstevep
LCD?
Posts: 3
Joined: Thu Dec 24, 2020 10:41 am

image conversion of PNG file

Post by azstevep »

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

Raquel
Matrix Orbital
Matrix Orbital
Posts: 805
Joined: Thu Aug 19, 2004 3:37 pm
Location: MO Office

Re: image conversion of PNG file

Post by Raquel »

Hello Steve,

Thank you for posting on the forum.
The array of data in the png and jpg demos are bin to hex conversions only of the images.
There are no format conversions. Please try again and get back to us if there is an issue.

Best Regards,
Raquel
Raquel Malinis
Design and Development
Matrix Orbital

Post Reply