Categories

Image Extract by Coordinates

Extract a specific region from an image using precise X, Y coordinates and dimensions

Click to upload file or drag and drop file here

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

Upload any image file (JPEG, PNG, WebP, TIFF) for coordinate-based extraction

Choose the coordinate system for specifying the region

X position. For center system: offset from center. For percentage: 0-100%

Y position. For center system: offset from center. For percentage: 0-100%

Width of region to extract. For percentage mode: 0-100%

Height of region to extract. For percentage mode: 0-100%

Automatically adjust region if it exceeds image boundaries

Choose output format or keep original

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

API Documentation

Request Endpoint

POST /en/api/tools/image-extract-coordinates

Request Parameters

Parameter Name Type Required Description
imageFile file (Upload required) Yes Upload any image file (JPEG, PNG, WebP, TIFF) for coordinate-based extraction
coordinateSystem select Yes Choose the coordinate system for specifying the region
x number Yes X position. For center system: offset from center. For percentage: 0-100%
y number Yes Y position. For center system: offset from center. For percentage: 0-100%
width number Yes Width of region to extract. For percentage mode: 0-100%
height number Yes Height of region to extract. For percentage mode: 0-100%
validateBounds checkbox No Automatically adjust region if it exceeds image boundaries
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-extract-coordinates 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-extract-coordinates": {
      "name": "image-extract-coordinates",
      "description": "Extract a specific region from an image using precise X, Y coordinates and dimensions",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-extract-coordinates",
      "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]