Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Image ¶
type Image struct { Name string Target [][]byte Dx int Dy int URL string Version coding.Version Mask coding.Mask Level coding.Level Scale int Rotation int Size int // RandControl says to pick the pixels randomly. RandControl bool Seed int64 // Dither says to dither instead of using threshold pixel layout. Dither bool // OnlyDataBits says to use only data bits, not check bits. OnlyDataBits bool // Code is the final QR code. Code *qr.Code // Control is a PNG showing the pixels that we controlled. // Pixels we don't control are grayed out. SaveControl bool Control []byte }
Click to show internal directories.
Click to hide internal directories.