LinuxCommandLibrary

qrencode

TLDR

Generate QR code to terminal

$ qrencode -t ANSI "[text]"
copy
Generate PNG image
$ qrencode -o [qr.png] "[text]"
copy
Generate SVG
$ qrencode -t SVG -o [qr.svg] "[text]"
copy
Set size
$ qrencode -s [10] -o [qr.png] "[text]"
copy
Read from stdin
$ echo "[text]" | qrencode -o [qr.png]
copy

SYNOPSIS

qrencode [options] [string]

DESCRIPTION

qrencode generates QR code images. Versatile QR encoder.
The tool supports multiple formats. Full QR code generation.
qrencode creates QR codes.

PARAMETERS

STRING

Text to encode.
-o FILE
Output file.
-t TYPE
Output type (PNG, SVG, ANSI).
-s SIZE
Module size.
-l LEVEL
Error correction level.
-v VERSION
QR version (size).

CAVEATS

libqrencode based. Multiple output formats.

HISTORY

qrencode uses libqrencode for QR code generation.

SEE ALSO

zbarimg(1), qr(1)

Copied to clipboard