.TH QRENCODE 1 "Nov. 23, 2011" "qrencode @VERSION@"
.SH NAME
qrencode \- Encode input data in a QR Code and save as a PNG or EPS image.
.SH SYNOPSIS
.B "qrencode"
[OPTION]...
[STRING]
.SH DESCRIPTION
Libqrencode is a library for encoding data in a QR Code symbol, a kind of 2D
symbology that can be scanned by handy terminals such as a mobile phone with
CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, and has
high robustness.
Qrencode is a utility software using libqrencode to encode string data in
a QR Code and save as a PNG or EPS image.
.SH OPTIONS
.TP
.B \-h, --help
display help message.
.TP
.B \-o FILENAME, --output=FILENAME
write image to FILENAME. If '-' is specified, the result will be output to standard output. If -S is given, structured symbols are written to FILENAME-01.png, FILENAME-02.png, ... (suffix is removed from FILENAME, if specified)
.TP
.B \-s NUMBER, --size=NUMBER
specify the size of dot (pixel). (default=3)
.TP
.B \-l {LMQH}, --level={LMQH}
specify error collectin level from L (lowest) to H (highest). (default=L)
.TP
.B \-v NUMBER, --symversion=NUMBER
specify the version of the symbol. (default=auto)
.TP
.B \-m NUMBER, --margin=NUMBER
specify the width of margin. (default=4)
.TP
.B \-d NUMBER, --dpi=NUMBER
specify the DPI of the generated PNG. (default=72)
.TP
.B \-t {PNG,EPS}, --type={PNG,EPS}
specify the type of the generated image. (default=PNG)
.TP
.B \-S, --structured
make structured symbols. Version must be specified.
.TP
.B \-k, --kanji
assume that the input text contains kanji (shift-jis).
.TP
.B \-c, --casesensitive
encode lower-case alphabet characters in 8-bit mode. (default)
.TP
.B \-i, --ignorecase
ignore case distinctions and use only upper-case characters.
.TP
.B \-8, --8bit
encode entire data in 8-bit mode. -k, -c and -i will be ignored.
.TP
.B \-M, --micro
encode in a Micro QR Code. (experimental)
.TP
.B \-V, --version
display the version number and copyrights of the qrencode.
.TP
.B [STRING]
input data. If it is not specified, data will be taken from standard input.
.SH EXAMPLES
.TP
.B qrencode -l L -v 1 -o output.png 'Hello, world!'
encode into a symbol version 1, level L.
.TP
.B qrencode -iSv 1 --output=output.png
read standard input and encode it into a structured-appended symbols in
case-insensitive mode.
.SH AUTHOR
Written by Kentaro Fukuchi.
.SH RESOURCES
.TP
Main Web Site: http://fukuchi.org/works/qrencode/
.TP
Source code repository: https://github.com/fukuchi/libqrencode/
.SH COPYRIGHT
Copyright (C) 2006-2011 Kentaro Fukuchi.