Image Shear

Apply shear transformation to create slanted or skewed images. Visualize shear matrices and see how they distort the image geometry.

Click to upload file or drag and drop file here

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

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

-2 0 2

Horizontal shear factor (-2.0 to 2.0, 0 = no shear, positive = rightward tilt)

-2 0 2

Vertical shear factor (-2.0 to 2.0, 0 = no shear, positive = downward tilt)

Background color for transparent areas (hex #RRGGBB or #RRGGBBAA, or color name)

Choose output format or keep original. PNG recommended for transparency

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

Key Facts

Category
Images, Audio & Video
Input Types
file, range, text, select, number
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

The Image Shear tool allows you to apply precise geometric transformations to your images, enabling you to create slanted or skewed effects by manipulating horizontal and vertical shear factors.

When to Use

  • When you need to correct perspective distortion in architectural or scanned images.
  • When creating stylized graphic design elements that require a slanted or italicized look.
  • When preparing assets for 3D mapping or specific UI layouts that demand non-rectangular geometry.

How It Works

  • Upload your image file in any supported format like PNG, JPEG, or WebP.
  • Adjust the horizontal and vertical shear sliders to define the intensity and direction of the distortion.
  • Set a background color for areas exposed by the transformation and choose your preferred output format.
  • Process the image to apply the matrix transformation and download your newly skewed result.

Use Cases

Correcting skewed document scans to restore proper alignment.
Generating dynamic, slanted text or logo effects for marketing banners.
Creating custom geometric shapes for web design backgrounds.

Examples

1. Perspective Correction

Graphic Designer
Background
A scanned document was captured at a slight angle, making the text appear slanted.
Problem
The document needs to be straightened to look professional and readable.
How to Use
Upload the scan and apply a small negative horizontal shear factor to counteract the tilt.
Example Config
shearX: -0.2, shearY: 0, background: white
Outcome
The document appears vertically aligned and ready for professional use.

2. Stylized Logo Slant

Social Media Manager
Background
A brand logo needs a dynamic, italicized look for a promotional social media post.
Problem
The original logo is static and lacks the energetic feel required for the campaign.
How to Use
Upload the logo PNG and apply a positive horizontal shear to create a forward-leaning effect.
Example Config
shearX: 0.5, shearY: 0, background: transparent, format: png
Outcome
A sleek, slanted version of the logo that fits the high-energy aesthetic of the campaign.

Try with Samples

image, png, jpg

Related Hubs

FAQ

What is image shearing?

Shearing is a geometric transformation that slides one part of an image in a specific direction, creating a slanted or skewed appearance without changing the image's area.

Can I keep the background transparent?

Yes, by setting the background color to 'transparent' and choosing PNG as your output format, you can maintain transparency in the newly created empty areas.

What do the shear factors represent?

The factors range from -2.0 to 2.0. A value of 0 means no shear, while positive or negative values determine the degree and direction of the slant.

Will my image quality degrade?

If you choose a lossy format like JPEG or WebP, you can adjust the quality slider from 1 to 100 to balance file size and visual fidelity.

Are there limits on the file size?

Yes, the tool supports image files up to 10MB to ensure efficient processing and performance.

API Documentation

Request Endpoint

POST /en/api/tools/image-shear

Request Parameters

Parameter Name Type Required Description
imageFile file (Upload required) Yes Upload any image file (JPEG, PNG, WebP, GIF, BMP, TIFF) for shear transformation
shearX range Yes Horizontal shear factor (-2.0 to 2.0, 0 = no shear, positive = rightward tilt)
shearY range Yes Vertical shear factor (-2.0 to 2.0, 0 = no shear, positive = downward tilt)
background text No Background color for transparent areas (hex #RRGGBB or #RRGGBBAA, or color name)
format select No Choose output format or keep original. PNG recommended for transparency
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-shear 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-shear": {
      "name": "image-shear",
      "description": "Apply shear transformation to create slanted or skewed images. Visualize shear matrices and see how they distort the image geometry.",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-shear",
      "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]