diff options
author | Christian Hesse <mail@eworm.de> | 2013-07-09 12:55:30 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-07-09 12:55:30 +0200 |
commit | ddf2ff6ae6617609056680c91676322c70690716 (patch) | |
tree | 3239a436ce96254777cec8157e7f3b3d49c823b8 /cqrlogo.c | |
parent | c805bd7f26f938e697446048318b719bfb6762ab (diff) | |
download | cqrlogo-ddf2ff6ae6617609056680c91676322c70690716.tar.gz cqrlogo-ddf2ff6ae6617609056680c91676322c70690716.tar.zst |
add config file0.1.6
Diffstat (limited to 'cqrlogo.c')
-rw-r--r-- | cqrlogo.c | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -13,20 +13,7 @@ #include <gdk-pixbuf/gdk-pixbuf.h> #include <qrencode.h> -/* 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 +#include "config.h" GdkPixbuf * encode_qrcode (char *text, int scale, int border) { QRcode *qrcode; |