Skip to content
Coverton Blog
In this article
Images

Resize images with contain, cover or stretch

The same requested dimensions can produce padding or cropping depending on the fit mode. Decide whether the entire subject must remain visible or whether filling the target rectangle matters more for this image.

Open the toolHow to use this tool ↓
Resize images
This illustration explains the tool's workflow. It is not the processed result of an uploaded file.

How to use this tool

  1. Choose files in JPG, JPEG, PNG, WEBP, BMP, SVG format. Maximum files per batch: 100.
  2. Review Width (px), Height (px), Fit mode, then start processing.
  3. Download the output, open it, and check its content and quality.

Choose the right settings

Contain can leave space around the image, while cover can cut its edges. Stretch changes proportions, so inspect faces and products for distortion and consider the prevent-enlargement option when the source is small.

Supported input
  • JPG, JPEG, PNG, WEBP, BMP, SVG
Output
  • Image
Available settings
  • Width (px)
  • Height (px)
  • Fit mode
  • Output format
  • Output quality (%)
  • Background color
  • Prevent enlargement

Before you start

Prepare a representative source

Start with a copy of the source and decide where the result will be used. A picture for later editing, an upload with fixed dimensions and a printed page have different requirements. Check the supported input and intended output in this guide; a new filename extension alone does not convert the file.

Where size, quality, background or crop controls are available, change one choice at a time on a representative image. Include small lettering and an important edge in your comparison. If the task extracts information rather than changing the picture, decide which source region and values you need to inspect.

Write down the recipient’s requirements and the choices used for a trial, including output type and any size or background setting that applies. If a detail is already blurred, cropped or absent in the original, changing an output setting will not supply the missing evidence. Compare an intermediate copy separately from the original: it may already contain changes from a previous step. This record helps you decide whether to correct the source, revise one choice or use a different supported operation.

Compare the result with its source

Open the downloaded output in the program that will actually use it. For image outputs, compare the same area at the same zoom, inspect all edges and read the saved dimensions and file size. For extracted text, measurements or color values, check sample entries directly against the visible source; a plausible-looking result can still be wrong.

If the output differs from the preview or cannot be created, check the input format, this tool’s limits and the selected settings before changing the source. Repeating compression or enlarging a small image cannot restore detail already lost. Keep the original so another trial starts from the same evidence.

Example input and output

128×96 image + 96×96 → 96×96 image

Examples describe the workflow. Results depend on the source file and settings.

Check the saved result before using it

Read the saved output's pixel dimensions and inspect all four edges. Compare the background color and confirm that cropping has not removed important text or part of the subject.

If the result is different from what you expected

Enlarging a small image does not create new detail. Preventing enlargement can also make the output differ from the dimensions you requested, so check its actual size before using it in a fixed-size layout.

Limits to keep in mind

  • Fill can crop edges and stretch can distort proportions. Enlarging an image cannot invent real detail.

Continue with a related tool

Convert JPG to PNG

A PNG copy gives you a file for subsequent editing without adding another round of JPEG compression during this conversion. It stores the pixels decoded from the JPG, including any compression damage already present in the source photo.

Leave both maximum dimensions at 0 to keep the source dimensions. Enter a width or height limit when you need a smaller copy, and the image keeps its aspect ratio within those limits.

Open the tool

Convert PNG to JPG

When a destination accepts JPG only, decide what color should replace the PNG's transparent areas before converting. For graphics containing both photos and text, judge the saved file by its lettering as well as its size.

Choose a background color and JPEG quality, then set maximum dimensions if the destination needs a smaller image. Keep the original PNG alongside the JPG copy when you may need its transparency for future editing.

Open the tool
CovertonResize images
Open the tool

This guide explains the public browser tool. Keep a copy of the original and inspect the result before sharing it.