Just another QR code library
Andrea Fontana
nospam at example.com
Mon Feb 10 09:29:03 UTC 2025
On Monday, 10 February 2025 at 09:25:12 UTC, Andrea Fontana wrote:
>
> ```
> import std.stdio;
> import qr;
>
> immutable vcard =
> `BEGIN:VCARD
> VERSION:4.0
> FN:Simon Perreault
> N:Perreault;Simon;;;ing. jr,M.Sc.
> BDAY:--0203
> GENDER:M
> EMAIL;TYPE=work:simon.perreault at viagenie.ca
> END:VCARD`;
>
> void main()
> {
> QrCode(vcard).save("vcard.png");
> }
> ```
>
> You just need to create a qr with a vcard string. More info:
> https://en.wikipedia.org/wiki/VCard
>
> Andrea
You can use a generator like this and then create a qr with the
output string: https://vcardmaker.com/
More information about the Digitalmars-d-announce
mailing list