Is there a libPNG 64-Bit?

Jack Wilsdon picture Jack Wilsdon · Mar 10, 2012 · Viewed 8.8k times · Source

I have a problem with libPNG, which is leading me to believe that I need a 64bit version of libPNG to run my application on a 64bit computer. The error is IMG_Load: Failed loading libpng15-15.dll: %1 is not a valid Win32 application. According to some other posts on this site, it is the fact that this is a 32bit DLL, is that the problem?

Answer

strcat picture strcat · Mar 10, 2012

Yes, libpng works on 64-bit architectures, including x86_64.

It's an open-source library so you can compile it with your project if a precompiled binary isn't available for your platform/architecture.