Use right frame in raw file
This commit is contained in:
parent
223d32722d
commit
869d73abc8
|
@ -134,7 +134,7 @@ func handleUpload(w http.ResponseWriter, r *http.Request) {
|
||||||
// Dump it to the raw file
|
// Dump it to the raw file
|
||||||
for y := 0; y < 8; y++ {
|
for y := 0; y < 8; y++ {
|
||||||
for x := 0; x < 8; x++ {
|
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{
|
outRaw.Write([]byte{
|
||||||
byte(r >> 8),
|
byte(r >> 8),
|
||||||
byte(g >> 8),
|
byte(g >> 8),
|
||||||
|
|
Loading…
Reference in New Issue