add comments to GraphicType const and badges to readme
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
[](https://godoc.org/github.com/SimonWaldherr/zplgfa)
|
||||
[](https://goreportcard.com/report/github.com/SimonWaldherr/zplgfa)
|
||||
[](https://codebeat.co/projects/github-com-simonwaldherr-zplgfa-master)
|
||||
[](https://bettercodehub.com/results/SimonWaldherr/zplgfa)
|
||||
[](https://raw.githubusercontent.com/SimonWaldherr/zplgfa/master/LICENSE)
|
||||
|
||||
The ZPLGFA Golang package implements some functions to convert PNG, JPEG and GIF files to ZPL compatible ^GF-elements ([Graphic Fields](https://www.zebra.com/us/en/support-downloads/knowledge-articles/gf-graphic-field-zpl-command.html)).
|
||||
|
||||
@@ -13,11 +13,11 @@ import (
|
||||
type GraphicType int
|
||||
|
||||
const (
|
||||
// using only hex characters (0-9A-F)
|
||||
// ASCII graphic type using only hex characters (0-9A-F)
|
||||
ASCII GraphicType = iota
|
||||
// saving the same data as binary
|
||||
// Binary saving the same data as binary
|
||||
Binary
|
||||
// compress the hex data via RLE
|
||||
// CompressedASCII compresses the hex data via RLE
|
||||
CompressedASCII
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user