rs / qrinfo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QRCode Info Reader

The qrinfo command outputs the contents of a QR code along with its encoding parameters.

$ qrinfo /path/to/image.png
Data: some QRCode example
Version: 3
ECC: H
Mask: 3
Data Type: Byte
ECI: ISO-8859-1 (default)

Install

Direct downloads are available through the releases page.

Using homebrew on macOS (Go not required):

brew install rs/tap/qrinfo

From source:

go install github.com/rs/qrinfo@latest

Usage

The qrinfo command supports multiple methods for providing the QR code image data:

Command Line Argument

Pass the path to the image as the first and only argument:

qrinfo /path/to/image

Standard Input

Send the image data via standard input:

qrinfo < /path/to/image

some-command | qrinfo

Clipboard

If qrinfo is executed without arguments and no piped input, it will attempt to fetch image data from your clipboard, if available.

About


Languages

Language:Go 100.0%