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)