Categories

Convert AVIF to PDF

Convert AVIF images to PDF format with customizable page size, orientation, and quality settings

Click to upload file or drag and drop file here

Maximum file size: 50MB Supported formats: image/avif

PDF document page size

Page orientation for the PDF

Quality setting for embedded image

Background color for the PDF page

0 10 25

Page margin as percentage of page size

PDF document title metadata

PDF document author metadata

PDF document subject metadata

PDF document keywords (comma-separated)

How the image should fit within the page

Center the image on the page

Maintain original image proportions

API Documentation

Request Endpoint

POST /en/api/tools/avif-to-pdf

Request Parameters

Parameter Name Type Required Description
imageFile file (Upload required) Yes -
pageSize select No PDF document page size
orientation select No Page orientation for the PDF
quality select No Quality setting for embedded image
backgroundColor select No Background color for the PDF page
margin range No Page margin as percentage of page size
title text No PDF document title metadata
author text No PDF document author metadata
subject text No PDF document subject metadata
keywords text No PDF document keywords (comma-separated)
fitMode select No How the image should fit within the page
centerImage checkbox No Center the image on the page
preserveAspectRatio checkbox No Maintain original image proportions

File type parameters need to be uploaded first via POST /upload/avif-to-pdf 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-avif-to-pdf": {
      "name": "avif-to-pdf",
      "description": "Convert AVIF images to PDF format with customizable page size, orientation, and quality settings",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=avif-to-pdf",
      "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]