From 869d73abc867957b5e725498284cc4090682faf7 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Mon, 4 Sep 2023 14:47:12 -0600 Subject: [PATCH] Use right frame in raw file --- cmd/wallart-server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/wallart-server/main.go b/cmd/wallart-server/main.go index 5e6364f..563ff6e 100644 --- a/cmd/wallart-server/main.go +++ b/cmd/wallart-server/main.go @@ -134,7 +134,7 @@ func handleUpload(w http.ResponseWriter, r *http.Request) { // Dump it to the raw file for y := 0; y < 8; y++ { for x := 0; x < 8; x++ { - r, g, b, _ := previousImg.At(x, y).RGBA() + r, g, b, _ := dst.At(x, y).RGBA() outRaw.Write([]byte{ byte(r >> 8), byte(g >> 8),