Begin with a protected reference
This workflow suits product tiles, social crops, screenshots, and other assets that must fit a known ratio without changing the main composition. Preserve the reviewed original first. Note the source dimensions, target dimensions, display size, and preferred border treatment before producing a candidate.
Fit the canvas instead of cutting the subject
Use image-pad on a copy and calculate the border on each side from the target ratio. Transparent padding is useful when a later layout supplies the background; solid, mirrored, or repeated fills are alternatives when the surrounding design allows them. Inspect the corners and joins because a mathematically correct canvas can still look visually wrong.
Keep cleanup deliberately light
Run image-noise-reduction only until distracting grain or specks recede. Bilateral filtering can be a reasonable choice for edges, while median or Gaussian treatment may suit different noise patterns. Watch labels, hair, skin, line art, and small UI text: once they become smeared, the pass is too strong.
When the file is already at its intended delivery dimensions, use image-sharpen with restrained settings. Review the original, padded intermediate, and final export at 100%, then inspect the image at the actual display size. Accept the candidate only when the border is clean and the final image looks clearer without halos or a promise that missing detail has been recovered.
For broader cleanup and resizing choices, continue with image-cleanup-resize-and-detail-enhancement. For geometry and canvas decisions that involve more than controlled padding, see image-geometry-transform-tools.