OA4RAADIGA5PACMHJ5NZWSBJ7CVGWPMRNMWNQKTTBH22C4GT3JFAC
func (p pixels) String() string {
round := 5
ret := strings.Builder{}
ret.WriteByte('\n')
for row := -round; row < 5+round; row++ {
for col := -round; col < 5+round; col++ {
if p[point{row, col}] {
ret.WriteByte('#')
} else {
ret.WriteByte('.')
}
}
ret.WriteByte('\n')
}
// log.Println(len(p))
return ret.String()
}
type point struct {
row, col int
}
type pixels map[point]bool
type image struct {
IEA string
m pixels
size int
flippy bool
}