News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Main Menu

ARGB4 image corruption.

Started by diego.barile, December 03, 2020, 11:42:19 AM

Previous topic - Next topic

diego.barile

Hello everybody.

I'm successfully able to show an ARGB4 image onto one page (FT812 custom embedded system).
But randomly (:'(), when the image size is roughly greater than 3Kb, sometimes it is displayed corrupted.
In attachment you can see two screen-shot (the good and the corrupted) plus the original asset for your further checking.

Please can you help me to solve this issue?
I suspect an not optimal PNG settings.

Thanks in advance.


Matrix Orbital

#1
The FIF0 is 4k so you might be over running the buffer. Make sure that your display list commands do not go over 4k
Matrix Orbital
Display Solution Provider

Embedded HDMI TFT's, EVE2, EVE3 & EVE4 TFT's, Serial LCD's, USB, LCD's

www.matrixorbital.com
www.lcdforums.com/forums

diego.barile

The fix is to send the image data in chunks (256 or 512 bytes) instead one single transmission.
Thank you to everybody.

pauljiao

how do you get ARGB4 bitmap ? through PNG decoding from cmd_loadimage at run-time or pre-processing PNG into ARGB4 through EAB?

diego.barile

I get ARGB4 pre-processing PNG into ARGB4 through EAB.