qrtool
Command-line utility for encoding and decoding QR codes
TLDR
Encode text to a QR code PNG
$ qrtool encode "[text]" -o [output.png]
Encode text as terminal ASCII art$ qrtool encode "[text]" -t ansi
Decode a QR code from an image$ qrtool decode [image.png]
Generate a Micro QR code$ qrtool encode "[text]" --variant micro -o [output.png]
SYNOPSIS
qrtool command [options]
DESCRIPTION
qrtool is a command-line utility for encoding text into QR codes and decoding QR codes from images. It supports multiple output formats including PNG, SVG, EPS, ANSI terminal art, and Unicode, plus QR code variants including standard, Micro QR, and rMQR. It reads from stdin and writes to stdout for Unix pipeline integration.
PARAMETERS
encode TEXT
Encode text into a QR code.decode FILE
Decode a QR code from an image file.-t, --type FORMAT
Output format: png, svg, eps, pic, ansi, ascii, unicode.-o, --output FILE
Output file path.--variant TYPE
QR code type: normal, micro, rmqr.--foreground COLOR
Foreground color in CSS format.--background COLOR
Background color in CSS format.
HISTORY
qrtool was created by sorairolake and is written in Rust.

