Fit vs Center Crop: Batch Resize and Exact Image Crops

Calculate dimensions, resize a batch and crop exact source regions without stretching.

Start with the source ratio

The aspect-ratio calculator reduces 1920 by 1080 to 16:9. Set a target width of 800 and it gives 800 by 450, with the unconstrained dimension rounded to whole pixels. This is a dimension calculation, not an actual file edit. Record the required output ratio and whether the destination needs exact dimensions before choosing a resize mode. More pixels from enlargement do not create original detail.

Try the containing-box example

The batch resizer’s generated source is 1200 by 800 pixels. With a 600 by 600 box, Fit produces 600 by 400, retaining the full frame. No enlargement is allowed by default. A batch can contain differently proportioned sources, so Fit does not necessarily produce identical output widths and heights. The preview shows the first result; inspect the other numbered downloads separately.

Compare center crop with an exact crop

Center crop fills the same 600 by 600 box by taking a centered 800 by 800 source region and scaling it to 600 by 600. That removes 200 source pixels from each side of the 1200-pixel width. The exact cropper instead takes the rectangle you specify: its example starts at x=100, y=100 and exports 600 by 400 source pixels without stretching. Coordinates use the decoded orientation-adjusted image.

One source, three treatments
ChoiceSource treatmentOutput pixels
Fit in 600 × 600Complete 1200 × 800 frame600 × 400
Center crop to 600 × 600Centered 800 × 800 region600 × 600
Exact crop examplex=100, y=100, width=600, height=400600 × 400
Proportional calculation1920 × 1080, chosen width 800800 × 450

Crop examples use valid source-pixel coordinates. Enlarging does not add original image detail.

Batch resizer fitting a 1200 by 800 generated image into a 600 by 600 box, resulting in 600 by 400.
Fit retains the complete source. The generated sample demonstrates one image rather than a user-uploaded batch. Captured .

Use this example Opens Batch image resizer with these inputs.

Select format and enlargement deliberately

PNG keeps transparency where supported; JPEG uses a white background; WebP requires a browser encoder that supports it. Exported images are flattened single frames without copied metadata. Center cropping to dimensions larger than the source requires explicit permission to enlarge. Decide whether lost edges, transparency changes or extra sampling fit the intended use before applying the same settings across a whole product-image batch.

Inspect a representative batch before replacing files

Try a landscape image, a portrait image and any image whose subject sits near an edge. Compare the preview and downloaded dimensions with the destination requirements. Keep the untouched originals and avoid overwriting them with a differently cropped version until you have checked the whole batch. A uniform box is a layout decision; it does not establish that every source looks good inside that box.

Sources and further reading

Back to top ↑

Keep exploring

More examples for your next small task.

Browse all articles
Help

How can we help?

Find instructions, report a problem, or leave a message.

Common questions

Where do I start? Try an example, then replace its values with yours.

Why did my upload fail? Check the field error, accepted format and file-size limit. Start with a small sanitized sample.

Where are my results? Review the result panel, then use its copy or download controls. If a calculation fails, check the error beside the input.

Message us

Chat opens Tawk.to. It processes your messages and connection data. Do not paste private inputs or file contents. Availability and response times vary.