diff options
author | Christian Hesse <mail@eworm.de> | 2014-02-25 12:12:30 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-02-25 12:12:30 +0100 |
commit | f5f01f3ff143edd87b7e36f1b3540cbc5d42c51f (patch) | |
tree | 5c2b6f5dbbb342ccc5ba770fd4bb4f73c151c246 /config.def.h | |
parent | 0f32341ead4f1534270a82c4372d84a1aaa9b0cd (diff) | |
download | cqrlogo-f5f01f3ff143edd87b7e36f1b3540cbc5d42c51f.tar.gz cqrlogo-f5f01f3ff143edd87b7e36f1b3540cbc5d42c51f.tar.zst |
build a shared library and rework parts of the code
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/config.def.h b/config.def.h index 1ac13c4..dc789d4 100644 --- a/config.def.h +++ b/config.def.h @@ -9,11 +9,11 @@ #define _CONFIG_H /* path to the config file */ -#define CONFIGFILE "/etc/cqrlogo.conf" +#define CONFIGFILE "/etc/cqrlogo.conf" /* whether or not defaults or settings from config may be overwritten * by query string */ -#define ALLOW_OVERWRITE 1 +#define ALLOW_OVERWRITE 1 /* pixels are scaled up by this factor */ #define QRCODE_SCALE 2 @@ -32,20 +32,10 @@ * QR_ECLEVEL_Q (about 25%) * QR_ECLEVEL_H (highest, about 30%) * image size raises with higher levels */ -#define QRCODE_LEVEL QR_ECLEVEL_L +#define QRCODE_LEVEL QR_ECLEVEL_L /* note that changing the level at runtime requies * a numeric value from 0 to 3 */ -/* if you really, really, really want to save some bytes... - * It is possible to disable text information in PNG file completly, though - * nobody will have an idea where you got this great software... - * So please do not. */ -#define PNG_ENABLE_TEXT 1 -/* do you want version information within the PNG file? */ -#define PNG_ENABLE_TEXT_VERSIONS 1 -/* add referer information to the PNG file? */ -#define PNG_ENABLE_TEXT_REFERER 1 - #endif /* _CONFIG_H */ // vim: set syntax=c: |