diff --git a/QRgen.nimble b/QRgen.nimble index ff58957..66ad91b 100644 --- a/QRgen.nimble +++ b/QRgen.nimble @@ -1,6 +1,6 @@ # Package -version = "2.1.0" +version = "2.1.1" author = "aruZeta" description = "A QR code generation library." license = "MIT" diff --git a/README.md b/README.md index 4557e7b..c7f0815 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

-

@@ -44,7 +44,7 @@ let myQR = newQR("https://github.com/aruZeta/QRgen")
myQR.printTerminal
- + @@ -59,7 +59,7 @@ let myQR = newQR("https://github.com/aruZeta/QRgen")
myQR.printSvg
- +

Generic QR with white background and black foreground.

@@ -68,7 +68,7 @@ let myQR = newQR("https://github.com/aruZeta/QRgen")
myQR.printSvg("#1d2021","#98971a")
- +

"#1d2021" is the "light" or "background" color

"#98971a" is the "dark" or "foreground" color

@@ -78,7 +78,7 @@ let myQR = newQR("https://github.com/aruZeta/QRgen")
myQR.printSvg("#1d2021","#98971a",60)
- +

60 sets the alignment pattern's roundness to 60%

@@ -87,7 +87,7 @@ let myQR = newQR("https://github.com/aruZeta/QRgen")
myQR.printSvg("#1d2021","#98971a",100,100)
- +

The last 100 sets the module's roundness to 100% (a perfect circle)

@@ -97,7 +97,7 @@ let myQR = newQR("https://github.com/aruZeta/QRgen")
myQR.printSvg("#1d2021","#98971a",100,100,50)
- +

The last 50 sets the module's separation to 50% (making the module having a width of 1 into a width of 0.6, @@ -112,7 +112,7 @@ let myQR = newQR("https://github.com/aruZeta/QRgen") Here we will need the highest EC level, for a better result (bigger logo):

let myQR = newQR("https://github.com/aruZeta/QRgen", ecLevel=qrECH)
myQR.printSvg("#1d2021","#98971a",100,100,svgImg=readFile("QRgen-logo.svg"))
- +

svgImg adds an SVG image embed in the center of generated QR code, so we can pass it the contents of an SVG file, here a logo, and @@ -129,7 +129,7 @@ https://user-images.githubusercontent.com/68018085/190470749-66090814-08fe-45b5- https://user-images.githubusercontent.com/68018085/190470760-8a5b5a30-5812-4777-8e05-8d2b250a9113.mp4 -Also, check the [docs](https://aruzeta.github.io/QRgen/develop/QRgen.html) to +Also, check the [docs](https://aruzeta.github.io/QRgen/main/QRgen.html) to know more about the main API. # License