This commit is contained in:
smiley
2015-12-10 03:38:10 +01:00
parent b589215f97
commit b70f028329
3 changed files with 85 additions and 78 deletions
+3 -3
View File
@@ -26,9 +26,9 @@ class QRCode{
const OUTPUT_STRING_JSON = 1;
const OUTPUT_STRING_HTML = 2;
const OUTPUT_IMAGE_PNG = 0;
const OUTPUT_IMAGE_JPG = 1;
const OUTPUT_IMAGE_GIF = 2;
const OUTPUT_IMAGE_PNG = 'png';
const OUTPUT_IMAGE_JPG = 'jpg';
const OUTPUT_IMAGE_GIF = 'gif';
const ERROR_CORRECT_LEVEL_L = 1; // 7%.
const ERROR_CORRECT_LEVEL_M = 0; // 15%.