Re-proportion Image Width/Height

When creating thumbs, the desired width/height
can end up warping the image due to an incorrect
ratio between the full-sized image and the thumb.

This function lets us re-proportion the width/height
if users choose to maintain the aspect ratio when resizing.

@return void