Vcard on xSIID done!

I’m playing with self-contained vcards (with all the data in the vcard, not involving a URL) with my name, phone number, email and a photo. Turns out, the photo really isn’t too bad for the purpose of sticking a small image next to an entry in a cellphone address book. It takes a while to find the right crop, size and JPEG compression, but the result is surprisingly good.

Here for instance, my vcard, with my ugly mush in 40x40 and 524 bytes:

BEGIN:VCARD
VERSION:2.1
N:Noname;Rosco
TEL:+123 45 678 9012
EMAIL:foo@bar.com
PHOTO;ENCODING=BASE64;TYPE=JPEG:/9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAsHCAkIB
 wsJCQkMCwsNEBoREA8PECAXGBMaJiIoKCYiJSQqMD0zKi05LiQlNUg1OT9BREVEKTNLUEpCT
 z1DREH/2wBDAQsMDBAOEB8RER9BLCUsQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQ
 UFBQUFBQUFBQUFBQUFBQUFBQUH/yQARCAAoACgDASIAAhEBAxEB/8wACgAQEAUBEBEF/9oAD
 AMBAAIRAxEAPwDSooVF8wepGjUAuiyvgNwcB2ZwUfukbRM1mm7UD+XrQ5SD3699/k4gQlCZg
 PxCh9GqIQ1pWEKahUszrCVM/ZH5vnxsJTa/wNGpKqB3vUe5Ru0XXfEeuHSHTl90Ohsz/wCyt
 D8YRncGf+ryC+W9lEY8pA96j3k9jdzm/wDeMYAnFGs/TfI6jYJDPKD/AAm0YhfkYI85gYftg
 H1igqzYFKB0UhBr9Fglujcj5nqH5OHzsmvtRepjIMA9llavLFPG1oZhbKVeW7vUeEEbU4luh
 waUOEdvq555a0+rgBRuXDGK47Om6+bz1qdbHAd44QdBPFTtRwiKqvkfjIydR4sCTEUTkUXgK
 /8ASA0dYyK8MMk1vjspvcsmuN7LegC/vEMw8s8CdFm8yf5dTIxDnF8u3vV9kovXypcfKTshO
 hGz5KGA/9k=
END:VCARD

It fills a NTAG 216 almost to the brim, but it works. However, I noticed that if I put a photo AND a URL, Android freezes when it reads the tag :slight_smile: