Added function for generate QR image