-
Notifications
You must be signed in to change notification settings - Fork 179
bx qrcode
thecodefactory edited this page Apr 5, 2016
·
9 revisions
Create a QRCODE image file for a payment address.
NOTE: This command is not implemented in version2.
$ bx help qrcode
Usage: bx qrcode [-hip] [--config value] [--density value] [--module_size
value] [--margin_size value] [--scheme value] [--version value]
PAYMENT_ADDRESS
Info: Create a QRCODE image file for a payment address.
Options (named):
-c [--config] The path to the configuration settings file.
-d [--density] The pixels per inch of the QRCODE, defaults to 72.
-h [--help] Get a description and instructions for this command.
-i [--insensitive] Do not use use sensitivity.
-m [--module_size] The module size in pixels of the QRCODE, defaults to
8.
-p [--png] Write the QRCODE in PNG file format.
-r [--margin_size] The margin size in pixels of the QRCODE, defaults to
2.
-s [--scheme] The URI scheme of the QRCODE data, defaults to
bitcoin.
-v [--version] The version of the QRCODE.
Arguments (positional):
PAYMENT_ADDRESS The payment address. If not specified the address is
read from STDIN.
$ bx qrcode --png 131zKT2n1FN4Z6JdDAWMg3w8ehYjoRByTB > address.png
# Optional: verify output file
$ file address.png
address.png: PNG image data, 264 x 264, 1-bit colormap, non-interlaced
$ bx qrcode -r 5 -m 15 --png 131zKT2n1FN4Z6JdDAWMg3w8ehYjoRByTB > address.png
# Optional: verify output file
$ file address.png
address.png: PNG image data, 585 x 585, 1-bit colormap, non-interlaced
$ bx qrcode -r 5 -m 15 -s litecoin --png LhAq4Q2NQiCtP71ZWSZvURvniWsuKsyDjE > address.png
# Optional: verify output file
$ file address.png
address.png: PNG image data, 585 x 585, 1-bit colormap, non-interlaced
Users | Developers | License | Copyright © 2011-2024 libbitcoin developers
- Home
- Build BX
- General Information
- Developer Information
- Configuration Settings
- Tutorials
- Meta Commands
- Wallet Commands
- Key Encryption Commands
- Stealth Commands
- Messaging Commands
- Transaction Commands
- Online Commands
- Encoding Commands
- Hash Commands
- Math Commands