fix qrcode png can't reconized bug(code come from: https://github.com/bitly/simplehttp/blob/master/qrencode/qrencode.c). use libpng to generate image.