summaryrefslogtreecommitdiffstats
path: root/config.def.h
blob: d95e45d93e241833847a671e6dac6841a551f6a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* pixels are scaled up by this factor */
#define QRCODE_SCALE	2

/* width of the border
 * this is defined to at least 4, but works well with less */
# define QRCODE_BORDER	1

/* error correction level used for QR code
 * possible values: QR_ECLEVEL_L (lowest, about 7% error can be corrected)
 *                  QR_ECLEVEL_M (about 15%)
 *                  QR_ECLEVEL_Q (about 25%)
 *                  QR_ECLEVEL_H (highest, about 30%)
 * image size raises with higher levels */
#define QRCODE_LEVEL	QR_ECLEVEL_L