diff options
author | Christian Hesse <mail@eworm.de> | 2014-02-20 11:40:08 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-02-20 11:40:08 +0100 |
commit | 716dbf5e815737cb454f45815b2e9bc4fa1462e0 (patch) | |
tree | db23cd5a36f19c99193e73e27faf799a614f8158 | |
parent | 2c277dc0c5cb936a23ee58948854b2e3eb6dd251 (diff) | |
download | cqrlogo-716dbf5e815737cb454f45815b2e9bc4fa1462e0.tar.gz cqrlogo-716dbf5e815737cb454f45815b2e9bc4fa1462e0.tar.zst |
increase the default max scale factor
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | config.def.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -90,7 +90,7 @@ check: $(ZBARIMG) --raw -q check.png | $(GREP) -e '^http://$(SERVER)/$$' SERVER_NAME=$(SERVER) HTTP_REFERER=http://$(SERVER)/ \ - QUERY_STRING='scale=10' \ + QUERY_STRING='scale=20' \ ./cqrlogo.cgi | $(SED) '1,/^$$/d' > \ check.png $(FILE) check.png | $(GREP) 'PNG image data' @@ -177,7 +177,7 @@ check: $(ZBARIMG) --raw -q check.png | $(GREP) -e '^http://$(SERVER)/$$' SERVER_NAME=$(SERVER) HTTP_REFERER=http://$(SERVER)/ \ - QUERY_STRING='scale=10' \ + QUERY_STRING='scale=20' \ ./cqrlogo.fcgi | $(SED) '1,/^$$/d' > \ check.png $(FILE) check.png | $(GREP) 'PNG image data' diff --git a/config.def.h b/config.def.h index a2e8949..1ac13c4 100644 --- a/config.def.h +++ b/config.def.h @@ -18,7 +18,7 @@ /* pixels are scaled up by this factor */ #define QRCODE_SCALE 2 /* this is the maximum scale factor */ -#define QRCODE_MAX_SCALE 8 +#define QRCODE_MAX_SCALE 16 /* width of the border * this is defined to at least 4, but works well with less */ |