lpcware

Convert PNG stream to GUI_BITMAP

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by harper23 on Fri Jun 28 09:17:59 MST 2013

I have some PNG streams stored on a slow device (serial flash) that shall be displayed. emWin supports drawing such files with the GUI_PNG_DrawExt() function.


The problem is, that the PNG graphics should be displayed alternatively. Calling the function GUI_PNF_DrawExt() takes to much time. How can the PNG stream converted to a GUI_BITMAP that can be displayed directly on the LCD device? The alpha values in the PNG stream must be kept.

Outcomes