Categories

Resize GIF

Resize GIF images to specified dimensions while maintaining animation and quality

Click to upload file or drag and drop file here

Maximum file size: 50MB Supported formats: image/gif

Key Facts

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

Overview

Easily resize your animated GIF files while preserving their frame-by-frame animation and visual quality. This tool allows you to scale images by percentage or specific pixel dimensions, ensuring your GIFs fit perfectly into web layouts, social media posts, or messaging apps.

When to Use

  • Reducing file size for faster loading on websites and email attachments.
  • Scaling GIFs to meet specific dimension requirements for social media profile pictures or banners.
  • Standardizing the resolution of multiple animated images for a consistent visual presentation.

How It Works

  • Upload your GIF file to the tool.
  • Select your preferred resize mode, such as percentage scaling or absolute pixel dimensions.
  • Adjust settings like interpolation method and aspect ratio to maintain image clarity.
  • Download your resized, animation-ready GIF.

Use Cases

Optimizing animated avatars for forums and community profiles.
Preparing GIF assets for responsive web design layouts.
Downscaling high-resolution GIFs to reduce bandwidth usage for mobile users.

Examples

1. Optimizing GIF for Web Banner

Web Designer
Background
A designer has a high-resolution 1000px wide GIF that needs to fit into a 400px wide sidebar.
Problem
The original file is too large and exceeds the layout width.
How to Use
Upload the file, select 'Absolute Dimensions', set width to 400, and ensure 'Maintain Aspect Ratio' is checked.
Example Config
resizeMode: pixels, width: 400, maintainAspectRatio: true, interpolation: lanczos3
Outcome
A perfectly scaled 400px wide GIF that maintains its original animation and aspect ratio.

2. Reducing File Size for Email

Marketing Specialist
Background
An email campaign requires an animated GIF, but the file size is currently too large for email delivery limits.
Problem
The GIF needs to be smaller in both dimensions and file size to ensure it loads quickly for recipients.
How to Use
Upload the GIF, choose 'Percentage Scale', and set the scale to 50%.
Example Config
resizeMode: percent, scalePercent: 50, interpolation: bicubic
Outcome
A smaller, lightweight GIF that retains its animation and is ready for email integration.

Try with Samples

image, file

Related Hubs

FAQ

Will resizing my GIF remove the animation?

No, the tool is designed to preserve the animation frames by default.

Can I change the dimensions to specific pixel values?

Yes, you can select 'Absolute Dimensions' to input your desired width and height in pixels.

What is the maximum file size I can upload?

You can upload GIF files up to 50MB in size.

How do I ensure the image doesn't look distorted?

Enable the 'Maintain Aspect Ratio' checkbox to ensure the width and height scale proportionally.

Which interpolation method should I choose?

For the best visual quality, 'Lanczos 3' is recommended, while 'Nearest Neighbor' is faster but may appear pixelated.

API Documentation

Request Endpoint

POST /en/api/tools/gif-to-resized-gif

Request Parameters

Parameter Name Type Required Description
gifFile file (Upload required) Yes -
resizeMode select No -
width number No -
height number No -
scalePercent number No -
maintainAspectRatio checkbox No -
interpolation select No -
multiFrameHandling select No -

File type parameters need to be uploaded first via POST /upload/gif-to-resized-gif 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-gif-to-resized-gif": {
      "name": "gif-to-resized-gif",
      "description": "Resize GIF images to specified dimensions while maintaining animation and quality",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=gif-to-resized-gif",
      "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]