Categories

Mirror Image Extender

Extend image canvas by mirroring edges, perfect for creating seamless patterns and tiled backgrounds

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 mirror the image edges

Extension to add on all sides (recommended for seamless patterns)

Extension to add to the top edge

Extension to add to the right edge

Extension to add to the bottom edge

Extension to add to the left edge

Choose output format or keep original

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

Key Facts

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

Overview

The Mirror Image Extender allows you to increase your image canvas size by reflecting the existing edges, creating a seamless mirrored effect that is ideal for generating patterns, textures, and tiled backgrounds.

When to Use

  • When you need to create seamless repeating patterns for web or print design.
  • When you want to expand a background image to fit a specific aspect ratio without cropping or stretching.
  • When you need to add padding to an image while maintaining visual continuity at the borders.

How It Works

  • Upload your image file (JPEG, PNG, WebP, TIFF, GIF, or BMP).
  • Select your preferred mirror mode and specify the extension size in pixels for each side.
  • Adjust the output format and quality settings if needed.
  • Download your newly extended image with the mirrored edges applied.

Use Cases

Generating seamless textures for 3D modeling or game development.
Creating custom desktop or mobile wallpapers from smaller source images.
Preparing social media graphics that require specific dimensions without losing image content.

Examples

1. Creating a Seamless Pattern

Graphic Designer
Background
A designer has a small, intricate floral icon that needs to be turned into a repeating background pattern for a website.
Problem
The icon is too small and lacks the necessary surrounding space to tile correctly.
How to Use
Upload the icon, set the Uniform Extension to 200 pixels, and select the 'Simple Mirror' mode.
Example Config
uniformPadding: 200, mirrorMode: 'mirror'
Outcome
The image canvas expands by 200 pixels on all sides with mirrored reflections, allowing the pattern to tile seamlessly.

2. Adjusting Background for Social Media

Content Creator
Background
A creator has a landscape photo that is too narrow for a specific social media banner requirement.
Problem
Cropping the photo would remove essential details from the subject.
How to Use
Upload the photo, set the Left and Right Extension to 150 pixels each, and keep the original format.
Example Config
leftPadding: 150, rightPadding: 150, mirrorMode: 'flip'
Outcome
The image width is extended with mirrored edges, providing the necessary dimensions for the banner without losing any original content.

Try with Samples

image, png, jpg

Related Hubs

FAQ

What image formats are supported?

You can upload JPEG, PNG, WebP, TIFF, GIF, and BMP files.

Can I add padding to only one side?

Yes, you can specify individual pixel values for the top, bottom, left, and right edges.

What is the difference between Simple Mirror and Advanced Flip?

Simple Mirror uses standard edge reflection, while Advanced Flip provides a custom mirroring logic for different visual results.

Is there a limit to how much I can extend the image?

You can add up to 1000 pixels of extension to any side.

Will this tool change the original file format?

By default, it keeps the original format, but you can choose to convert the output to JPEG, PNG, or WebP.

API Documentation

Request Endpoint

POST /en/api/tools/image-extend-mirror

Request Parameters

Parameter Name Type Required Description
imageFile file (Upload required) Yes Upload any image file (JPEG, PNG, WebP, TIFF, GIF, BMP)
mirrorMode select Yes Choose how to mirror the image edges
uniformPadding number No Extension to add on all sides (recommended for seamless patterns)
topPadding number No Extension to add to the top edge
rightPadding number No Extension to add to the right edge
bottomPadding number No Extension to add to the bottom edge
leftPadding number No Extension to add to the left edge
format select No Choose output format or keep original
quality number No Output quality for lossy formats (JPEG, WebP). Higher = better quality but larger file size

File type parameters need to be uploaded first via POST /upload/image-extend-mirror 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-extend-mirror": {
      "name": "image-extend-mirror",
      "description": "Extend image canvas by mirroring edges, perfect for creating seamless patterns and tiled backgrounds",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-extend-mirror",
      "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]