Use right frame in raw file

This commit is contained in:
Neale Pickett 2023-09-04 14:47:12 -06:00
parent 223d32722d
commit 869d73abc8
1 changed files with 1 additions and 1 deletions

View File

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