Categories

Image Resizer

Professional image resizing tool with multiple resize methods, aspect ratio preservation, and format conversion, supporting GIF/Animated WebP/APNG and JPEG/PNG/WEBP.

Click to upload file or drag and drop file here

Maximum file size: 50MB Supported formats: image/jpeg, image/jpg, image/png, image/webp, image/tiff, image/avif, image/gif

1 20 50
1 90 100

Key Facts

Category
Media
Input Types
file, select, number, color, checkbox, range
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

The Image Resizer is a professional-grade utility designed to precisely adjust image dimensions, convert file formats, and optimize visual assets for web or print use while maintaining high quality.

When to Use

  • Preparing images for web display to ensure faster page loading times.
  • Standardizing a collection of images to specific dimensions for social media or professional portfolios.
  • Converting image formats like TIFF or PNG to modern, compressed formats such as WebP or AVIF.

How It Works

  • Upload your source image file and select your preferred resize mode (pixels or percentage).
  • Define your target dimensions or choose an aspect ratio to maintain visual consistency.
  • Apply advanced settings like fit methods, background blur, or resampling kernels to achieve the desired output.
  • Choose your target output format and quality level, then process the file to download your resized image.

Use Cases

Optimizing high-resolution photography for responsive website hero sections.
Creating uniform thumbnails for e-commerce product galleries.
Converting legacy image files into modern, high-efficiency formats like AVIF or WebP.

Examples

1. Web Hero Banner Optimization

Web Developer
Background
A high-resolution 4000px wide photo is slowing down the landing page load speed.
Problem
Resize the image to a standard 1920px width while converting it to WebP for better compression.
How to Use
Upload the image, set Resize Mode to 'Pixels', set Width to 1920, and select 'WebP' as the output format.
Example Config
{"resizeMode": "pixels", "width": 1920, "format": "webp", "quality": 85}
Outcome
A lightweight, web-optimized image that maintains visual clarity while significantly reducing file size.

2. Social Media Asset Standardization

Social Media Manager
Background
Need to post a collection of photos in a consistent 9:16 mobile format.
Problem
Crop and resize various source images to fit mobile story dimensions without losing the main subject.
How to Use
Select '9:16' aspect ratio, set Fit Method to 'Cover', and use 'Attention' positioning for smart cropping.
Example Config
{"aspectRatio": "9:16", "fit": "cover", "position": "attention"}
Outcome
Perfectly cropped, mobile-ready images that automatically focus on the most important parts of the frame.

Try with Samples

image, png, jpg

Related Hubs

FAQ

Which image formats are supported?

The tool supports JPEG, PNG, WebP, TIFF, AVIF, and GIF formats.

Can I resize images while maintaining the aspect ratio?

Yes, you can select from various aspect ratio presets or use custom dimensions to ensure your image scales correctly.

What is the difference between 'Cover' and 'Contain' fit methods?

Cover crops the image to fill the entire area, while Contain scales the image to fit within the dimensions without cropping.

Does this tool support animated images?

Yes, the tool supports processing for GIF, Animated WebP, and APNG files.

Can I remove metadata from my images?

Yes, you can enable the 'Strip Metadata' option to remove EXIF data and other hidden information from your files.

API Documentation

Request Endpoint

POST /en/api/tools/image-resize

Request Parameters

Parameter Name Type Required Description
imageFile file (Upload required) Yes -
resizeMode select No -
width number No -
height number No -
aspectRatio select No -
fit select No -
position select No -
background color No -
blurBackground checkbox No -
blurSigma range No -
kernel select No -
format select No -
quality range No -
upscale checkbox No -
progressive checkbox No -
stripMetadata checkbox No -

File type parameters need to be uploaded first via POST /upload/image-resize to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-image-resize": {
      "name": "image-resize",
      "description": "Professional image resizing tool with multiple resize methods, aspect ratio preservation, and format conversion, supporting GIF/Animated WebP/APNG and JPEG/PNG/WEBP.",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-resize",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]