
Write down the size and shape of the target slot. Compare it with the original aspect ratio before entering new dimensions.
To fill a slot of a different shape, crop the visible area to the target ratio first, then resize proportionally. If preserving every part is more important, resize to fit and allow some surrounding space in the layout.
Test the output inside the actual slot. The aim is to keep an undistorted subject and enough visible movement for the example to make sense.