Using Aspose.Email 2.7, it is not possible to retrieve an inline photo from a VCard file using Aspose.Email.Formats.VCard.VCardContact.
The attached example VCard has an inline JPEG photo. The photo data retrieved using Aspose is not a valid image, because it appears that the bytes were Base64 decoded as a string using ASCII/default encoding rather than binary data (the first few bytes are 0x63 rather than the correct values).
Repro code:
var vcfTest = VCardContact.Load(file);
var ms = new MemoryStream(vcfTest.IdentificationInfo.Photo.Data);
using (var image = System.Drawing.Image.FromStream(ms)) //throw bad data
{
image.Save(file + “photo.jpg”);
}