From 9c41c5f8cd1bd564cecc26565580fa3886aa73e0 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期五, 22 十一月 2019 16:21:43 +0800
Subject: [PATCH] update

---
 godraw.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/godraw.go b/godraw.go
index d923a23..1a21d8c 100644
--- a/godraw.go
+++ b/godraw.go
@@ -50,7 +50,7 @@
 	for j := bounds.Min.Y; j < bounds.Max.Y; j++ {
 		for i := bounds.Min.X; i < bounds.Max.X; i++ {
 			r, g, b, _ := img.At(i, j).RGBA()
-			data = append(data, byte(b>>8), byte(g>>8), byte(r>>8))
+			data = append(data, byte(r>>8), byte(g>>8), byte(b>>8))
 		}
 	}
 	return data

--
Gitblit v1.8.0