replace libgd with libpng to generate qrcode image