You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.3 KiB

4 years ago
  1. .\" Manpage for qr
  2. .TH QR 1 "23 Mar 2018" "6.0" "Python QR tool"
  3. .SH NAME
  4. qr \- script to create QR codes at the command line
  5. .SH SYNOPSIS
  6. qr [\-\-help] [\-\-factory=FACTORY] [\-\-optimize=OPTIMIZE] [\-\-error\-correction=LEVEL] [data]
  7. .SH DESCRIPTION
  8. This script uses the python qrcode module. It can take data from stdin or from the commandline and generate a QR code.
  9. Normally it will output the QR code as ascii art to the terminal. If the output is piped to a file, it will output the image (default type of PNG).
  10. .SH OPTIONS
  11. .PP
  12. \fB\ \-h, \-\-help\fR
  13. .RS 4
  14. Show a help message.
  15. .RE
  16. .PP
  17. \fB\ \-\-factory=FACTORY\fR
  18. .RS 4
  19. Full python path to the image factory class to create the
  20. image with. You can use the following shortcuts to the
  21. built-in image factory classes: pil (default), pymaging,
  22. svg, svg-fragment, svg-path.
  23. .RE
  24. .PP
  25. \fB\ \-\-optimize=OPTIMIZE\fR
  26. .RS 4
  27. Optimize the data by looking for chunks of at least this
  28. many characters that could use a more efficient encoding
  29. method. Use 0 to turn off chunk optimization.
  30. .RE
  31. .PP
  32. \fB\ \-\-error\-correction=LEVEL\fR
  33. .RS 4
  34. The error correction level to use. Choices are L (7%),
  35. M (15%, default), Q (25%), and H (30%).
  36. .RE
  37. .PP
  38. \fB\ data\fR
  39. .RS 4
  40. The data from which the QR code will be generated.
  41. .RE
  42. .SH SEE ALSO
  43. https://github.com/lincolnloop/python-qrcode/