Categories

Convert JPEG to GIF

Convert JPEG images to GIF format with color palette optimization for web compatibility

Click to upload file or drag and drop file here

Maximum file size: 10MB Supported formats: image/jpeg, image/jpg

API Documentation

Request Endpoint

POST /en/api/tools/jpg-to-gif

Request Parameters

Parameter Name Type Required Description
imageFile file (Upload required) Yes -
colors number No -
dithering select No -

File type parameters need to be uploaded first via POST /upload/jpg-to-gif 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-jpg-to-gif": {
      "name": "jpg-to-gif",
      "description": "Convert JPEG images to GIF format with color palette optimization for web compatibility",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=jpg-to-gif",
      "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]