From 26e9987cd183715588aa113030db44fc376ef6b4 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期五, 22 十一月 2019 16:22:47 +0800
Subject: [PATCH] recover
---
godraw.go | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/godraw.go b/godraw.go
index 1a21d8c..d923a23 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(r>>8), byte(g>>8), byte(b>>8))
+ data = append(data, byte(b>>8), byte(g>>8), byte(r>>8))
}
}
return data
--
Gitblit v1.8.0