1QRENCODE(1)                 General Commands Manual                QRENCODE(1)
2
3
4

NAME

6       qrencode  -  Encode  input  data  in a QR Code and save as a PNG or EPS
7       image.
8

SYNOPSIS

10       qrencode [OPTION]...  [STRING]
11
12

DESCRIPTION

14       Libqrencode is a library for encoding data in a QR Code symbol, a  kind
15       of 2D symbology that can be scanned by handy terminals such as a mobile
16       phone with CCD. The capacity of QR Code is up to 7000  digits  or  4000
17       characters, and has high robustness.
18
19       Qrencode  is a utility software using libqrencode to encode string data
20       in a QR Code and save as a PNG or EPS image.
21
22

OPTIONS

24       -h, --help
25              display help message.
26
27       -o FILENAME, --output=FILENAME
28              write image to FILENAME. If '-' is specified, the result will be
29              output  to  standard  output. If -S is given, structured symbols
30              are written to FILENAME-01.png, FILENAME-02.png, ... (suffix  is
31              removed from FILENAME, if specified)
32
33       -r FILENAME, --read-from=FILENAME
34              read input data from FILENAME.
35
36       -s NUMBER, --size=NUMBER
37              specify the size of dot (pixel). (default=3)
38
39       -l {LMQH}, --level={LMQH}
40              specify  error  correction level from L (lowest) to H (highest).
41              (default=L)
42
43       -v NUMBER, --symversion=NUMBER
44              specify the minimum version of the symbol. See  SYMBOL  VERSIONS
45              for more information. (default=auto)
46
47       -m NUMBER, --margin=NUMBER
48              specify the width of margin. (default=4)
49
50       -d NUMBER, --dpi=NUMBER
51              specify the DPI of the generated PNG. (default=72)
52
53       -t {PNG,PNG32,EPS,SVG,XPM,ANSI,ANSI256,ASCII,ASCIIi,UTF8,ANSIUTF8}
54       --type={PNG,PNG32,EPS,SVG,XPM,ANSI,ANSI256,ASCII,ASCIIi,UTF8,ANSIUTF8}
55              specify the type of the generated image. (default=PNG)
56
57       -S, --structured
58              make structured symbols. Version must be specified.
59
60       -k, --kanji
61              assume that the input text contains kanji (shift-jis).
62
63       -c, --casesensitive
64              encode lower-case alphabet characters in 8-bit mode. (default)
65
66       -i, --ignorecase
67              ignore case distinctions and use only upper-case characters.
68
69       -8, --8bit
70              encode entire data in 8-bit mode. -k, -c and -i will be ignored.
71
72       -M, --micro
73              encode in a Micro QR Code. (experimental)
74
75       --foreground=RRGGBB[AA]
76       --background=RRGGBB[AA]
77              specify  foreground/background  color  in  hexadecimal notation.
78              6-digit (RGB) or 8-digit (RGBA) form are supported.  Color  out‐
79              put support available only in PNG, EPS and SVG.
80
81       -V, --version
82              display the version number and copyrights of the qrencode.
83
84       --verbose
85              display verbose information to stderr.
86
87       [STRING]
88              input  data.  If  it  is  not specified, data will be taken from
89              standard input.
90
91

SYMBOL VERSIONS

93       The symbol versions of QR Code range from  Version  1  to  Version  40.
94       Each version has a different module configuration or number of modules,
95       ranging from Version 1 (21 x 21 modules) up to Version 40  (177  x  177
96       modules).   Each  higher  version number comprises 4 additional modules
97       per side by default.   See  http://www.qrcode.com/en/about/version.html
98       for a detailed version list.
99
100

EXAMPLES

102       qrencode -l L -v 1 -o output.png 'Hello, world!'
103              encode into a symbol version 1, level L.
104
105       qrencode -iSv 1 --output=output.png
106              read  standard  input  and  encode it into a structured-appended
107              symbols in case-insensitive mode.
108
109       qrencode -S -v 40 -l L -r bigfile.txt -o output.png
110              read input data from bigfile.txt and encode into a  symbol  ver‐
111              sion 40, level L.
112
113

AUTHOR

115       Written by Kentaro Fukuchi.
116
117

RESOURCES

119       Main Web Site: https://fukuchi.org/works/qrencode/
120
121       Source code repository: https://github.com/fukuchi/libqrencode/
122
123
125       Copyright (C) 2006-2017 Kentaro Fukuchi.
126
127
128
129qrencode 4.0.2                   Sep. 21, 2017                     QRENCODE(1)
Impressum