| 1 | # PDF417 barcodes in Golang |
| 2 | |
| 3 | [](https://travis-ci.org/ruudk/golang-pdf417) |
| 4 | |
| 5 | This is a port of https://github.com/ihabunek/pdf417-php |
| 6 | |
| 7 | This library encodes data to a PixelGrid that can be used to display the barcode. |
| 8 | You can use the PixelGrid to draw the barcode on anything. Check [pdf417_test.go](pdf417_test.go) for an example. |
| 9 | |
| 10 | I only needed a way to draw PDF417 barcodes onto a [FPDF](https://github.com/jung-kurt/gofpdf) PDF file. |
| 11 | See example: [examples/fpdf.go](examples/fpdf.go) |
| 12 | |
| 13 | 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 :) |
| 14 |