Base64 Photo Code in QuickChart VCard Encoding

Hi everyone,

I tried to add the user’s photo for the vcard (vcf) to create the QR code for digital business case. For the rest of the information (name, title, email, phone) it works perfectly. But when I need to encode the vcard details for photo, somehow the formula is getting corrupted. Anybody tried this in PowerApps?

Changing PHOTO;ENCODING=b;TYPE=JPEG: to %0aPHOTO%3BENCODING%3Db%3BTYPE%3DJPEG%3A
Once base64 code comes to the picture and I have to use EncodeUrl(…) code in picture, somehow the code is not being recognized and QR code is not created anymore.