code128

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CODE_C = 99
	CODE_B = 100
	CODE_A = 101

	FNC_1   = 102
	FNC_2   = 97
	FNC_3   = 96
	FNC_4_A = 101
	FNC_4_B = 100

	START_A = 103
	START_B = 104
	START_C = 105
	STOP    = 106

	DEL_B        = 95
	CIRCUMFLEX   = 62
	GREATER_THAN = 30
	TILDE_B      = 94
)
View Source
const (
	// Dummy characters used to specify control characters in input
	ESCAPE_FNC_1 = '\u00f1'
	ESCAPE_FNC_2 = '\u00f2'
	ESCAPE_FNC_3 = '\u00f3'
	ESCAPE_FNC_4 = '\u00f4'
)

Variables

View Source
var CODE_PATTERNS = [][]int{}/* 107 elements not displayed */

Functions

func EncodeAuto

func EncodeAuto(content string, height, barWidth int) (image.Image, error)

func EncodeNoMode

func EncodeNoMode(content string, height, barWidth int) (image.Image, string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL