User-specified output ratio

Added a keyword argument which enables the user to select other ratios for the output image rather than
just 1:1.