That there is no easy way to read a PNG file into a memory bitmap in native Windows, it seemed impossible, but after a lot of searching, I begin to believe in it. The libpng / zlib combination is too large. What third-party Win32 libraries exist for reading PNG?
Edit: solution boost :: gil :: png is much more complicated than I had hoped. You just need one call that takes a file name and fills the memory buffer with pixels.
windows winapi png
IJ Kennedy
source share