Documentation
¶
Index ¶
- Constants
- func Decode(reader gozxing.Reader, filename string, options ...interface{}) (string, error)
- func Encode(writer gozxing.Writer, format gozxing.BarcodeFormat, contents string, ...) ([]byte, error)
- func GetSize(options ...interface{}) (width, height int)
- func ToImage(bm *gozxing.BitMatrix) image.Image
- type BarcodeFormat
- type BarcodeFormats
- type OptionCircleShapes
- type OptionImageLogo
- type OptionSize
Constants ¶
View Source
const ( /** Aztec 2D barcode format. */ BarcodeFormat_AZTEC = BarcodeFormat(iota) /** CODABAR 1D format. */ BarcodeFormat_CODABAR /** Code 39 1D format. */ BarcodeFormat_CODE_39 /** Code 93 1D format. */ BarcodeFormat_CODE_93 /** Code 128 1D format. */ BarcodeFormat_CODE_128 /** Data Matrix 2D barcode format. */ BarcodeFormat_DATA_MATRIX /** EAN-8 1D format. */ BarcodeFormat_EAN_8 /** EAN-13 1D format. */ BarcodeFormat_EAN_13 /** ITF (Interleaved Two of Five) 1D format. */ BarcodeFormat_ITF /** MaxiCode 2D barcode format. */ BarcodeFormat_MAXICODE /** PDF417 format. */ BarcodeFormat_PDF_417 /** QR Code 2D barcode format. */ BarcodeFormat_QR_CODE /** RSS 14 */ BarcodeFormat_RSS_14 /** RSS EXPANDED */ BarcodeFormat_RSS_EXPANDED /** UPC-A 1D format. */ BarcodeFormat_UPC_A /** UPC-E 1D format. */ BarcodeFormat_UPC_E /** UPC/EAN extension format. Not a stand-alone format. */ BarcodeFormat_UPC_EAN_EXTENSION )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BarcodeFormat ¶
type BarcodeFormat int
func (BarcodeFormat) String ¶
func (f BarcodeFormat) String() string
type BarcodeFormats ¶
type BarcodeFormats []BarcodeFormat
func (BarcodeFormats) Contains ¶
func (barcodes BarcodeFormats) Contains(c BarcodeFormat) bool
type OptionCircleShapes ¶
type OptionCircleShapes struct{}
type OptionImageLogo ¶
type OptionImageLogo struct {
Filename string
}
type OptionSize ¶
Click to show internal directories.
Click to hide internal directories.