Skip to content

Commit

Permalink
[release] v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aruZeta committed Sep 16, 2022
1 parent 580bd80 commit ef8f133
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion QRgen.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "1.0.1"
version = "2.0.0"
author = "aruZeta"
description = "A QR code generation library."
license = "MIT"
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="https://github.com/aruZeta/QRgen/blob/develop/share/img/logo.svg"
<img src="https://github.com/aruZeta/QRgen/blob/main/share/img/logo.svg"
width="300px" height="300px" />
</p>

Expand Down Expand Up @@ -44,7 +44,7 @@ let myQR = newQR("https://github.com/aruZeta/QRgen")
<tr>
<td align="center">
<pre>myQR.printTerminal</pre>
<img src="https://github.com/aruZeta/QRgen/blob/develop/share/img/terminal-example.png" width="200px" height="200px"/>
<img src="https://github.com/aruZeta/QRgen/blob/main/share/img/terminal-example.png" width="200px" height="200px"/>
</td>
</tr>
</tbody>
Expand All @@ -59,7 +59,7 @@ let myQR = newQR("https://github.com/aruZeta/QRgen")
<tr>
<td align="center">
<pre>myQR.printSvg</pre>
<img src="https://github.com/aruZeta/QRgen/blob/develop/share/img/svg-example.svg" width="200px" height="200px" />
<img src="https://github.com/aruZeta/QRgen/blob/main/share/img/svg-example.svg" width="200px" height="200px" />
<p>Generic QR with white background and black foreground.</p>
</td>
</tr>
Expand All @@ -68,7 +68,7 @@ let myQR = newQR("https://github.com/aruZeta/QRgen")
<tr>
<td align="center">
<pre>myQR.printSvg("#1d2021","#98971a")</pre>
<img src="https://github.com/aruZeta/QRgen/blob/develop/share/img/svg-colors-example.svg" width="200px" height="200px" />
<img src="https://github.com/aruZeta/QRgen/blob/main/share/img/svg-colors-example.svg" width="200px" height="200px" />
<p><code>"#1d2021"</code> is the "light" or "background" color</p>
<p><code>"#98971a"</code> is the "dark" or "foreground" color</p>
</td>
Expand All @@ -78,7 +78,7 @@ let myQR = newQR("https://github.com/aruZeta/QRgen")
<tr>
<td align="center">
<pre>myQR.printSvg("#1d2021","#98971a",60)</pre>
<img src="https://github.com/aruZeta/QRgen/blob/develop/share/img/svg-rounded-example.svg" width="200px" height="200px"/>
<img src="https://github.com/aruZeta/QRgen/blob/main/share/img/svg-rounded-example.svg" width="200px" height="200px"/>
<p><code>60</code> sets the alignment pattern's roundness to 60%</p>
</td>
</tr>
Expand All @@ -87,7 +87,7 @@ let myQR = newQR("https://github.com/aruZeta/QRgen")
<tr>
<td align="center">
<pre>myQR.printSvg("#1d2021","#98971a",100,100)</pre>
<img src="https://github.com/aruZeta/QRgen/blob/develop/share/img/svg-very-rounded-example.svg" width="200px" height="200px" />
<img src="https://github.com/aruZeta/QRgen/blob/main/share/img/svg-very-rounded-example.svg" width="200px" height="200px" />
<p>The last <code>100</code> sets the module's roundness to 100%
(a perfect circle)</p>
</td>
Expand All @@ -97,7 +97,7 @@ let myQR = newQR("https://github.com/aruZeta/QRgen")
<tr>
<td align="center">
<pre>myQR.printSvg("#1d2021","#98971a",100,100,50)</pre>
<img src="https://github.com/aruZeta/QRgen/blob/develop/share/img/svg-separation-example.svg" width="200px" height="200px" />
<img src="https://github.com/aruZeta/QRgen/blob/main/share/img/svg-separation-example.svg" width="200px" height="200px" />
<p>
The last <code>50</code> sets the module's separation to 50%
(making the module having a width of 1 into a width of 0.6,
Expand All @@ -114,7 +114,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
Expand Down

0 comments on commit ef8f133

Please sign in to comment.