using libpng write file

libpng mingw-w64 build static library