Just another QR code library

Salih Dincer salihdb at hotmail.com
Thu Oct 17 10:33:08 UTC 2024


On Wednesday, 16 October 2024 at 12:58:29 UTC, Andrea Fontana 
wrote:
> ```d
> import qr;
> import std.stdio;
>
> void main()
> {
>    // ASCII art FTW
>    QrCode("Hello D!").writeln();
>
>    // Save as PNG. Look, Ma, no external deps!
>    QrCode("Hello D!").save("simple-qr.png");
> }
> ```
> Feel free to check it out, use it if you find it helpful, and 
> let me know if you run into any issues or have suggestions for 
> improvements.
> Cheers!

I haven't tried it yet, but it's an excellent example of 
high-quality work, especially with the use of D's standard 
library and importC. Please accept my congratulations on your 
contribution. I have a small question:

  Is it possible to increase or decrease the image file resolution?

SDB at 79


More information about the Digitalmars-d-announce mailing list