Browse Source

Change module to Image, change default format value to PNG

j433866 6 years ago
parent
commit
b3113c109b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/core/operations/GenerateQRCode.mjs

+ 3 - 3
src/core/operations/GenerateQRCode.mjs

@@ -22,9 +22,9 @@ class GenerateQRCode extends Operation {
         super();
         super();
 
 
         this.name = "Generate QR Code";
         this.name = "Generate QR Code";
-        this.module = "QRCode";
+        this.module = "Image";
         this.description = "Generates a QR code from text.";
         this.description = "Generates a QR code from text.";
-        this.infoURL = "https://en.wikipedia.org/wiki/QR_code";
+        this.infoURL = "https://wikipedia.org/wiki/QR_code";
         this.inputType = "string";
         this.inputType = "string";
         this.outputType = "byteArray";
         this.outputType = "byteArray";
         this.presentType = "html";
         this.presentType = "html";
@@ -32,7 +32,7 @@ class GenerateQRCode extends Operation {
             {
             {
                 "name": "Image Format",
                 "name": "Image Format",
                 "type": "option",
                 "type": "option",
-                "value": ["SVG", "PNG"]
+                "value": ["PNG", "SVG"]
             },
             },
             {
             {
                 "name": "Size of QR module",
                 "name": "Size of QR module",