Too many squares to fit! Try fewer squares, a smaller margin or thinner walls.
The image is 480 × 360 pixels (the PNG is saved at double resolution, 960 × 720). Every time you change a setting you get a brand new random maze. The start is the top-right square and the end is the bottom-left square.