Puzzling question : How to write a proper 2.1 formatted VCF file to NFC tag [SOLVED]

Hi Amal sorry my bad it seems I did not explain. My situation properly.

it’s a custom handcoded VCF file with BASE64 encoded image and iam trying to write the created vcf file on the nfc tag using tag writer and nfc tools.

To elaborate further

These encoded vcf files with photo write fine as a file or text option in tag writer but these written file won’t open as contact in android when detected. When. Scanned they show tagwiter or taginfo as apps to open it.

On the other hand
I don’t have any issue in writing a business card via the internal options of tagwriter or nfc tools, they write fine and open fine in contacts on android when scanned.

Hope iam able to put it correct for experts here to point me in right direction