From 836b4e0544a76aa6446e11e424bc53e4838af7a1 Mon Sep 17 00:00:00 2001 From: Simon Waldherr Date: Sun, 21 Oct 2018 19:07:04 +0200 Subject: [PATCH] FOSSA is confused by ZPL, so i remove the FOSSA Status Badge at the of the README.md --- README.md | 3 --- zplgfa.go | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a7992d1..e1487f9 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,3 @@ func main() { } ``` - -## License -[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FSimonWaldherr%2Fzplgfa.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FSimonWaldherr%2Fzplgfa?ref=badge_large) \ No newline at end of file diff --git a/zplgfa.go b/zplgfa.go index 09a14d3..c78a9dc 100644 --- a/zplgfa.go +++ b/zplgfa.go @@ -170,9 +170,9 @@ func ConvertToGraphicField(source image.Image, graphicType GraphicType) string { index = 0 } } - + hexstr := strings.ToUpper(hex.EncodeToString(line)) - + switch graphicType { case ASCII: GraphicFieldData += fmt.Sprintln(hexstr)