Categories

Convert WebP to Resized WebP

Resize WebP images while maintaining WebP format and quality

Click to upload file or drag and drop file here

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

Leave empty to auto-calculate based on height and aspect ratio

Leave empty to auto-calculate based on width and aspect ratio

Background color for empty space. Use #RRGGBB format or "transparent"

0 90 100

Prevent upscaling when target dimensions are larger than original

API Documentation

Request Endpoint

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

Request Parameters

Parameter Name Type Required Description
imageFile file (Upload required) Yes -
width number No Leave empty to auto-calculate based on height and aspect ratio
height number No Leave empty to auto-calculate based on width and aspect ratio
fit select No -
position select No -
background text No Background color for empty space. Use #RRGGBB format or "transparent"
quality range No -
withoutEnlargement checkbox No Prevent upscaling when target dimensions are larger than original

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