Using width of 512 instead 1000px in qr.