Categories

Image Boolean XOR

Apply bitwise XOR operation between two images to create difference mask

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

First image for XOR operation

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

Second image for XOR operation

Output format for the result image (PNG recommended for transparency)

Output quality for lossy formats

API Documentation

Request Endpoint

POST /en/api/tools/image-boolean-xor

Request Parameters

Parameter Name Type Required Description
imageFile1 file (Upload required) Yes First image for XOR operation
imageFile2 file (Upload required) Yes Second image for XOR operation
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-boolean-xor 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-boolean-xor": {
      "name": "image-boolean-xor",
      "description": "Apply bitwise XOR operation between two images to create difference mask",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-boolean-xor",
      "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]