PDF to Image Converter
Convert PDF documents to high-quality images. Supports single page or batch conversion with customizable settings for format, quality, and dimensions.
API Documentation
Request Endpoint
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| pdfFile | file (Upload required) | Yes | Upload PDF file (Max 50MB) |
| conversionMode | select | Yes | Choose conversion mode |
| pageNumbers | text | No | Specify which pages to convert (comma-separated) |
| format | select | Yes | Choose output image format |
| quality | number | No | Output image quality (1-100). Higher = better quality but larger file size |
| density | number | No | Output resolution in dots per inch |
| width | number | No | Output image width in pixels |
| height | number | No | Output image height in pixels |
| preserveAspectRatio | checkbox | No | Maintain original PDF aspect ratio |
| saveFilename | text | No | Prefix for output filenames (without extension) |
File type parameters need to be uploaded first via POST /upload/pdf-to-image 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-pdf-to-image": {
"name": "pdf-to-image",
"description": "Convert PDF documents to high-quality images. Supports single page or batch conversion with customizable settings for format, quality, and dimensions.",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-to-image",
"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]