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),