Documentation
¶
Overview ¶
Code derived from github.com/boombuler/barcode/pdf417 (MIT License).
Index ¶
- func Encode(data string, securityLevel byte) (barcode.Barcode, error)
- func EncodeWithColor(data string, securityLevel byte, color barcode.ColorScheme) (barcode.Barcode, error)
- func EncodeWithColorAndDimensions(data string, securityLevel byte, columns, rows int, color barcode.ColorScheme) (barcode.Barcode, error)
- func EncodeWithDimensions(data string, securityLevel byte, columns, rows int) (barcode.Barcode, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Encode ¶
Encodes the given data as PDF417 barcode. securityLevel should be between 0 and 8. The higher the number, the more additional error-correction codes are added.
func EncodeWithColor ¶
func EncodeWithColor(data string, securityLevel byte, color barcode.ColorScheme) (barcode.Barcode, error)
Encodes the given data and color scheme as PDF417 barcode. securityLevel should be between 0 and 8. The higher the number, the more additional error-correction codes are added.
func EncodeWithColorAndDimensions ¶
func EncodeWithColorAndDimensions(data string, securityLevel byte, columns, rows int, color barcode.ColorScheme) (barcode.Barcode, error)
EncodeWithColorAndDimensions encodes a PDF417 barcode with optional columns/rows overrides. If columns or rows are 0, they are automatically chosen.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.