diff options
Diffstat (limited to 'line-conf-buckets-tess/line-conf-buckets-tess.go')
-rw-r--r-- | line-conf-buckets-tess/line-conf-buckets-tess.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/line-conf-buckets-tess/line-conf-buckets-tess.go b/line-conf-buckets-tess/line-conf-buckets-tess.go index 1af8360..facd108 100644 --- a/line-conf-buckets-tess/line-conf-buckets-tess.go +++ b/line-conf-buckets-tess/line-conf-buckets-tess.go @@ -105,7 +105,7 @@ func main() { } defer outfile.Close() - err = png.Encode(outfile, l.Img) + err = l.Img.CopyLineTo(outfile) if err != nil { log.Fatal(err) } |