How to set image size in FreeStyle2

I can’t figure out how to set the image size so that it all fits into the grid, and shrinks the image instead of increasing the size of the area.