Now the image is being generated, but the result is way too small (please see following images). I tried reducing the size to the half (currently 161 x 69) to see if that would grab less of the canvas, but it didn't work.