Documentation ¶
Overview ¶
Package qr encodes QR codes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Code ¶
type Code struct { Bitmap []byte // 1 is black, 0 is white Size int // number of pixels on a side Stride int // number of bytes per row Scale int // number of image pixels per QR pixel }
A Code is a square pixel grid. It implements image.Image and direct PNG encoding.
Directories ¶
Path | Synopsis |
---|---|
Package coding implements low-level QR coding details.
|
Package coding implements low-level QR coding details. |
Package gf256 implements arithmetic over the Galois Field GF(256).
|
Package gf256 implements arithmetic over the Galois Field GF(256). |
Package libqrencode wraps the C libqrencode library.
|
Package libqrencode wraps the C libqrencode library. |
Click to show internal directories.
Click to hide internal directories.