| Crates.io | qrg |
| lib.rs | qrg |
| version | 0.1.1 |
| created_at | 2023-02-08 18:00:47.209776+00 |
| updated_at | 2023-03-03 19:17:49.331183+00 |
| description | Generates QRCodes with a logo overlay. |
| homepage | |
| repository | https://github.com/AntoniosBarotsis/qr-rs |
| max_upload_size | |
| id | 780048 |
| size | 61,282 |
QR Generate!
For more information on the project, take a look at the README and this website.
Note Make sure you have Cargo installed
Currently, as the crate is not published, you can only install it from source with
# From source
# cargo install --path cli
cargo install qrg
You can get the list of available commands as follows:
$ qrg -h
Generates QRCodes with a logo overlay.
Usage: qrg.exe [OPTIONS] <CONTENT>
Arguments:
<CONTENT> The text the qr code should contain
Options:
-d, --destination <DESTINATION> The filename the QR Code should be saved in [default: out.png]
-s, --size <SIZE> The size of the QR Code [default: 600]
-c, --bg-color <BG_COLOR> The background color of the QR Code (in hex) [default: FFFFFF]
-l, --logo <LOGO> The name of the logo to use in the overlay [default: google]
-h, --help Print help
-V, --version Print version
I will try to keep this outdated but you should run it for yourself just in case some command detail has changed.
Create a QR Code pointing to github.com and dump the image to a file called tmp.png.
qrg github.com -d tmp.png