Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruudk/golang-pdf417
Port of pdf417-php by ihabunek in Golang
https://github.com/ruudk/golang-pdf417
barcode fpdf golang pdf417
Last synced: 3 months ago
JSON representation
Port of pdf417-php by ihabunek in Golang
- Host: GitHub
- URL: https://github.com/ruudk/golang-pdf417
- Owner: ruudk
- License: mit
- Created: 2016-05-07T11:04:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-12-30T14:21:27.000Z (about 4 years ago)
- Last Synced: 2024-10-11T13:12:10.419Z (4 months ago)
- Topics: barcode, fpdf, golang, pdf417
- Language: Go
- Homepage:
- Size: 35.2 KB
- Stars: 18
- Watchers: 4
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PDF417 barcodes in Golang
![CI](https://github.com/ruudk/golang-pdf417/workflows/CI/badge.svg)
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](pdf417_test.go) for an example.I only needed a way to draw PDF417 barcodes onto a [FPDF](https://github.com/jung-kurt/gofpdf) PDF file.
See example: [examples/fpdf.go](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 :)