mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-30 17:33:50 +08:00
a4c4df85f7
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
999 B
999 B
qrencode
QR Code generator. Supports PNG and EPS. See also:
qr. More information: https://manned.org/qrencode.
- Convert a string to a QR code and save to an output file:
qrencode {{[-o|--output]}} {{path/to/output_file.png}} {{string}}
- Convert a string to a micro QR code and save to an output file:
qrencode {{[-o|--output]}} {{path/to/output_file.png}} {{[-M|--micro]}} {{string}}
- Convert an input file to a QR code and save to an output file:
qrencode {{[-o|--output]}} {{path/to/output_file.png}} {{[-r|--read-from]}} {{path/to/input_file}}
- Convert a string to a QR code and print it in terminal:
qrencode {{[-t|--type]}} ansiutf8 {{string}}
- Convert a string to a QR code with a specific error correction level and save to an output file:
qrencode {{[-o|--output]}} {{path/to/output_file.png}} {{[-l|--level]}} {{[l|m|q|h]}} {{string}}
- Convert input from pipe to a QR code and print it in terminal:
echo {{string}} | qrencode {{[-t|--type]}} utf8