Shotnest

Shotnest · Library

Inspect a small image before trying to enlarge it

The Shotnest resize helper never enlarges: a 300×200 image stays 300×200 inside a 1200×1200 box, while a 4000×3000 one becomes 1200×900.

How the fitted size is chosen

The resize helper takes a maximum width and height, 1200 × 1200 pixels by default, and computes one scale factor: the smallest of 1, maximum width ÷ image width and maximum height ÷ image height. Because 1 is part of that minimum, the factor can never exceed 1. Large images shrink with their aspect ratio intact; small ones pass through at their own size.

For a 4000 × 3000 photo the factor is 1200 ÷ 4000 = 0.3, giving 1200 × 900. A 1170 × 2532 portrait screenshot is limited by its height: 1200 ÷ 2532, which gives 555 × 1200. A 300 × 200 image keeps a factor of 1.

Check the image before fitting it

  1. Zoom into the original and read the smallest text you need.
  2. If characters are already blurred or missing, find a better source or take a new screenshot.
  3. Set the maximum width and height for where the copy will go.
  4. Create the result and read the same small text in the downloaded PNG.
  5. Keep the original; the helper writes a new file and does not change it.
4000 × 3000 in 1200 × 1200
1200 × 900
1170 × 2532 in 1200 × 1200
555 × 1200
300 × 200 in 1200 × 1200
300 × 200

Both maximum values are whole numbers of pixels between 1 and 12000. The result keeps at least 1 pixel on each side, and its total size may not exceed 24000000 pixels.

Misreading a resize

Pixels cannot be recovered

Enlarging a raster image only spreads existing pixels, which is why this helper does not do it. The resize tool linked below works in the browser tab, produces a fitted copy and makes no claim about improved text recognition or restored detail.

Tools