1QRENCODE(1) General Commands Manual QRENCODE(1)
2
3
4
6 qrencode - Encode input data in a QR Code and save as a PNG or EPS
7 image.
8
10 qrencode [OPTION]... [STRING]
11
12
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
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 -s NUMBER, --size=NUMBER
34 specify the size of dot (pixel). (default=3)
35
36 -l {LMQH}, --level={LMQH}
37 specify error collectin level from L (lowest) to H (highest).
38 (default=L)
39
40 -v NUMBER, --symversion=NUMBER
41 specify the version of the symbol. See SYMBOL VERSIONS for more
42 information. (default=auto)
43
44 -m NUMBER, --margin=NUMBER
45 specify the width of margin. (default=4)
46
47 -d NUMBER, --dpi=NUMBER
48 specify the DPI of the generated PNG. (default=72)
49
50 -t {PNG,EPS,SVG,ANSI,ANSI256,ASCII,ASCIIi,UTF8,ANSIUTF8}
51 --type={PNG,EPS,SVG,ANSI,ANSI256,ASCII,ASCIIi,UTF8,ANSIUTF8}
52 specify the type of the generated image. (default=PNG)
53
54 -S, --structured
55 make structured symbols. Version must be specified.
56
57 -k, --kanji
58 assume that the input text contains kanji (shift-jis).
59
60 -c, --casesensitive
61 encode lower-case alphabet characters in 8-bit mode. (default)
62
63 -i, --ignorecase
64 ignore case distinctions and use only upper-case characters.
65
66 -8, --8bit
67 encode entire data in 8-bit mode. -k, -c and -i will be ignored.
68
69 -M, --micro
70 encode in a Micro QR Code. (experimental)
71
72 --foreground=RRGGBB[AA]
73 --background=RRGGBB[AA]
74 specify foreground/background color in hexadecimal notation.
75 6-digit (RGB) or 8-digit (RGBA) form are supported. Color out‐
76 put support available only in PNG and SVG.
77
78 -V, --version
79 display the version number and copyrights of the qrencode.
80
81 --verbose
82 display verbose information to stderr.
83
84 [STRING]
85 input data. If it is not specified, data will be taken from
86 standard input.
87
88
90 The symbol versions of QR Code range from Version 1 to Version 40.
91 Each version has a different module configuration or number of modules,
92 ranging from Version 1 (21 x 21 modules) up to Version 40 (177 x 177
93 modules). Each higher version number comprises 4 additional modules
94 per side by default. See http://www.qrcode.com/en/about/version.html
95 for a detailed version list.
96
97
99 qrencode -l L -v 1 -o output.png 'Hello, world!'
100 encode into a symbol version 1, level L.
101
102 qrencode -iSv 1 --output=output.png
103 read standard input and encode it into a structured-appended
104 symbols in case-insensitive mode.
105
106 cat bigfile.txt | qrencode -S -v 40 -l L -o output.png
107 encode into a symbol version 40, level L.
108
109
111 Written by Kentaro Fukuchi.
112
113
115 Main Web Site: http://fukuchi.org/works/qrencode/
116
117 Source code repository: https://github.com/fukuchi/libqrencode/
118
119
121 Copyright (C) 2006-2012 Kentaro Fukuchi.
122
123
124
125qrencode 3.4.4 Oct. 9, 2012 QRENCODE(1)