From 716dbf5e815737cb454f45815b2e9bc4fa1462e0 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 20 Feb 2014 11:40:08 +0100 Subject: increase the default max scale factor --- Makefile | 4 ++-- config.def.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f38be3a..f5e2862 100644 --- a/Makefile +++ b/Makefile @@ -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 */ -- cgit v1.2.3-70-g09d2