It looks like the emWin library is built with the libpng library. It exports the symols and it's reasonable to use libpng to display PNG images.
The function png_get_header_ver() returns "1.2.15". But there are no libpng headers in the directory tree built by the NXP installer. When I get the official libpng version 1.2.15 I get all the png.h stuff an the like. But the structures does not match. The size of the jumpbuf in the png_structp seems to be different to the definition in setjmp.h for the LPC1788.h
Hi,
The libpng embedded in the emWin 5.18 and emWin 5.20 NXP libraries is the libpng as provided by Segger:
http://www.segger.com/admin/uploads/userfiles/file/emWin/link/emwin_png.zip
For both the 5.18 and 5.20 libraries we have included the files from the folder emWin_V5.18.
Regards,
Wouter