Image Projective Transformation
Apply advanced projective transformation for complex 3D surface mapping and projection effects
API Documentation
Request Endpoint
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| imageFile | file (Upload required) | Yes | Upload any image file (JPEG, PNG, WebP, GIF, BMP, TIFF) for projective transformation |
| matrixRows | textarea | Yes | 3x3 projective transformation matrix in homogeneous coordinates. Format: [[a,b,c],[d,e,f],[g,h,i]] |
| interpolation | select | No | Method for interpolating pixel values during transformation |
| background | text | No | Background color for empty areas (hex #RRGGBB or #RRGGBBAA, or color name) |
| format | select | No | Output format for the result image (PNG recommended for transparency) |
| quality | number | No | Output quality for lossy formats |
File type parameters need to be uploaded first via POST /upload/image-projective 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)"
}
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-image-projective": {
"name": "image-projective",
"description": "Apply advanced projective transformation for complex 3D surface mapping and projection effects",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-projective",
"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]