pdf417

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT, MIT Imports: 8 Imported by: 0

Documentation

Overview

Code derived from github.com/boombuler/barcode/pdf417 (MIT License).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(data string, securityLevel byte) (barcode.Barcode, error)

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.

func EncodeWithDimensions

func EncodeWithDimensions(data string, securityLevel byte, columns, rows int) (barcode.Barcode, error)

EncodeWithDimensions encodes a PDF417 barcode with optional columns/rows overrides. If columns or rows are 0, they are automatically chosen.

Types

This section is empty.

Jump to

Keyboard shortcuts

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