...

Package pdf417

import "github.com/boombuler/barcode/pdf417"
Overview
Index

Overview ▾

Package pdf417 can create PDF-417 barcodes

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.