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. (default=auto)
42
43 -m NUMBER, --margin=NUMBER
44 specify the width of margin. (default=4)
45
46 -d NUMBER, --dpi=NUMBER
47 specify the DPI of the generated PNG. (default=72)
48
49 -t {PNG,EPS,SVG,ANSI,ANSI256,ASCII,ASCIIi,UTF8,ANSIUTF8}
50 --type={PNG,EPS,SVG,ANSI,ANSI256,ASCII,ASCIIi,UTF8,ANSIUTF8}
51 specify the type of the generated image. (default=PNG)
52
53 -S, --structured
54 make structured symbols. Version must be specified.
55
56 -k, --kanji
57 assume that the input text contains kanji (shift-jis).
58
59 -c, --casesensitive
60 encode lower-case alphabet characters in 8-bit mode. (default)
61
62 -i, --ignorecase
63 ignore case distinctions and use only upper-case characters.
64
65 -8, --8bit
66 encode entire data in 8-bit mode. -k, -c and -i will be ignored.
67
68 -M, --micro
69 encode in a Micro QR Code. (experimental)
70
71 --foreground=RRGGBB[AA]
72 --background=RRGGBB[AA]
73 specify foreground/background color in hexadecimal notation.
74 6-digit (RGB) or 8-digit (RGBA) form are supported. Color out‐
75 put support available only in PNG and SVG.
76
77 -V, --version
78 display the version number and copyrights of the qrencode.
79
80 [STRING]
81 input data. If it is not specified, data will be taken from
82 standard input.
83
84
86 qrencode -l L -v 1 -o output.png 'Hello, world!'
87 encode into a symbol version 1, level L.
88
89 qrencode -iSv 1 --output=output.png
90 read standard input and encode it into a structured-appended
91 symbols in case-insensitive mode.
92
93
95 Written by Kentaro Fukuchi.
96
97
99 Main Web Site: http://fukuchi.org/works/qrencode/
100
101 Source code repository: https://github.com/fukuchi/libqrencode/
102
103
105 Copyright (C) 2006-2012 Kentaro Fukuchi.
106
107
108
109qrencode 3.4.1 Oct. 9, 2012 QRENCODE(1)