Computing grid Images