Image size
What this tool does
This tool adjusts the size of an image to fit within specific dimensions while keeping the original look intact. It is designed for users who need to prepare images for websites, documents, or product listings by ensuring they are the correct size. The platform handles the resizing process so you do not have to use external editing software.
When to use it
- Shrinking large photos before uploading them to save space.
- Fitting images into a fixed design template or frame.
- Creating a set of product images with consistent dimensions for an online shop.
What to expect
You will receive a link (URL) to the resized image file. The image will be formatted according to your request, typically as a PNG file.
Limitations
- If you try to make an image much larger than its original size, the quality may become blurry or pixelated.
- When using the 'cover' mode, you must provide both a width and a height so the system knows how to crop the image.
- The tool works best with standard image formats; unusual or corrupted files might not be processed.
When it fails
- No width or height is provided when required by the chosen mode.
- The source image file is corrupted or in a format that cannot be read.
Good to know
- Set only the width to keep the original proportions, or set both to force a specific size.
- Use 'contain' to fit the whole image inside the box, or 'cover' to fill the box by cropping the edges.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
url | No | https://public.downloads.uproc.io/samples/uproc-logo.png | Public URL of the file to process. |
width | No | 800 | Enter the desired width in pixels (e.g., '800'). This is optional if you want the platform to calculate it automatically. |
height | No | 600 | Enter the desired height in pixels (e.g., '600'). This is optional if you want the platform to calculate it automatically. |
mode | No | contain | Choose how the image fits the box: 'contain' fits the whole image, 'cover' fills the box, or 'exact' forces the size. Default is 'contain'. |
Output data
| Field | Description |
|---|---|
result | A web link (URL) where you can view or download the resized image file. |