github.com/ruudk/golang-pdf417

Port of pdf417-php by ihabunek in Golang


Keywords
barcode, fpdf, golang, pdf417
License
MIT
Install
go get github.com/ruudk/golang-pdf417

Documentation

PDF417 barcodes in Golang

CI

This is a port of https://github.com/ihabunek/pdf417-php

This library encodes data to a PixelGrid that can be used to display the barcode. You can use the PixelGrid to draw the barcode on anything. Check pdf417_test.go for an example.

I only needed a way to draw PDF417 barcodes onto a FPDF PDF file. See example: examples/fpdf.go

If you want to export the barcode to an image, you have to create something that puts the PixelGrid onto the image. If you find a way, please submit a PR :)