Reduce image dimensions to a ratio and calculate a proportional target height.
Result
16:9
Target dimensions: 1,200 × 675px
The original width and height are reduced to their smallest whole-number ratio. The target height uses that same proportion.
Matching the ratio prevents stretching, but a differently shaped product may still require cropping. Check raster resolution before enlarging artwork.