changed qrcode generation script to create null image for non public person.