2019-11-28 21:12:20 +00:00
|
|
|
|
# qrencode
|
|
|
|
|
|
|
|
|
|
> QR Code generator. Supports PNG and EPS.
|
|
|
|
|
> More information: <https://fukuchi.org/works/qrencode>.
|
|
|
|
|
|
|
|
|
|
- Convert a string to a QR code and save to an output file:
|
|
|
|
|
|
|
|
|
|
`qrencode -o {{path/to/output_file.png}} {{string}}`
|
|
|
|
|
|
|
|
|
|
- Convert an input file to a QR code and save to an output file:
|
|
|
|
|
|
|
|
|
|
`qrencode -o {{path/to/output_file.png}} -r {{path/to/input_file}}`
|
2020-02-05 09:56:36 +00:00
|
|
|
|
|
|
|
|
|
- Convert a string to a QR code and print it in terminal:
|
|
|
|
|
|
|
|
|
|
`qrencode -t ansiutf8 {{string}}`
|
|
|
|
|
|
|
|
|
|
- Convert input from pipe to a QR code and print it in terminal:
|
|
|
|
|
|
|
|
|
|
`echo {{string}} | qrencode -t ansiutf8`
|