Closed fvisticot closed 9 years ago
I'll amend the documentation since this is a newer feature I haven't documented yet, but to attach a photo or a logo using base64 encoding, you'd do this:
vCard.photo.embedFromFile('c:\path\file.png'); vCard.logo.embedFromFile('c:\path\file.png');
Works great !!!
Tx
Le 23 mai 2015 à 20:42, Eric J Nesser notifications@github.com a écrit :
I'll amend the documentation since this is a newer feature I haven't documented yet, but to attach a photo or a logo using base64 encoding, you'd do this:
vCard.photo.embedFromFile('c:\path\file.png'); vCard.logo.embedFromFile('c:\path\file.png');
— Reply to this email directly or view it on GitHub https://github.com/enesser/vCards-js/issues/8#issuecomment-104935828.
Is it possible with this library to embed the photo itself as a base64 content in the vcard ?