Additional Custom field type 'Image'

I would like to add an image as custom field type to many of my Card entries. This will especially be helpful for a number of loyalty cards, special discount cards linked to your bank or store account. The image can be presented for scanning especially when the physical card is lost or damaged beyond useability.
In my application, I need to scan the barcode or QR code on a card and have the same image stored in the field - this is not meant for generating any QR or bar codes. Most possible, capturing an image of the code can work, and may even double as a way to capture a user photo, etc. which may be crucial for identification purposes linked to a specific card.