libpng included in emWIn

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

libpng included in emWIn

687 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by harper23 on Mon Jul 01 06:00:13 MST 2013

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


<ul>
<li>What configuration (pnglibconf.h) has been used for buildung the NXP  version of the emWin library?</li>
<li>Where are the header files for the use of the libpng functions available?</li>
</ul>
Labels (1)
0 Kudos
1 Reply

537 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Wouter on Mon Jul 01 07:33:00 MST 2013

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

0 Kudos