Categories

Image Padder

Advanced image padding tool with multiple fill strategies - transparent background, mirror, repeat, or solid colors

Click to upload file or drag and drop file here

Maximum file size: 20MB Supported formats: image/jpeg, image/png, image/webp, image/tiff, image/gif, image/bmp

Upload any image file (JPEG, PNG, WebP, TIFF, GIF, BMP)

Choose how to apply padding to the image

Choose how to fill the extended area

Background color for the extended area (default: white)

Padding to add on all sides when using uniform mode

Padding to add to the top edge

Padding to add to the right edge

Padding to add to the bottom edge

Padding to add to the left edge

Choose output format or keep original

Output quality for lossy formats (WebP, JPEG). Higher = better quality but larger file size

API Documentation

Request Endpoint

POST /en/api/tools/image-pad

Request Parameters

Parameter Name Type Required Description
imageFile file (Upload required) Yes Upload any image file (JPEG, PNG, WebP, TIFF, GIF, BMP)
padMode select Yes Choose how to apply padding to the image
extendWith select Yes Choose how to fill the extended area
backgroundColor color No Background color for the extended area (default: white)
uniformPadding number No Padding to add on all sides when using uniform mode
topPadding number No Padding to add to the top edge
rightPadding number No Padding to add to the right edge
bottomPadding number No Padding to add to the bottom edge
leftPadding number No Padding to add to the left edge
format select No Choose output format or keep original
quality number No Output quality for lossy formats (WebP, JPEG). Higher = better quality but larger file size

File type parameters need to be uploaded first via POST /upload/image-pad 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-pad": {
      "name": "image-pad",
      "description": "Advanced image padding tool with multiple fill strategies - transparent background, mirror, repeat, or solid colors",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-pad",
      "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]