Optimized version of diagonal.png from Evan.