AVIF to PDF converter
AVIF pixels are decoded and encoded as PDF by our image engine for avif-to-pdf; no OCR is performed.
- Converted with Image engine · input deleted within 24 h
- Free: 5 conversions a day · 5 MB each
- Higher limits →
What changes
- AVIF pixels are decoded and encoded as PDF by our image engine for avif-to-pdf; no OCR is performed.
- EXIF, color profiles, layers, animation frames, and camera metadata may be stripped unless the destination requires minimal metadata.
- Transparency stays for PNG and WebP but is filled with the selected background for JPEG, BMP, PDF, and other opaque targets.
- Animated inputs such as GIF are flattened to a still frame unless a server codec explicitly supports animation for that output.
- SVG input is rasterized at the requested dimensions or DPI, producing pixels rather than editable vector paths.
- Server-only codecs or PDF rendering are used when browsers cannot safely handle the pair.
A real AVIF → PDF run
We converted our AVIF sample (15 KB) with Image engine on 2026-10-20. It took 46 ms and produced a 33 KB PDF file, 2.1× larger than the input. The engine raised 1 warning, listed below.
Input · sample.avif · 15 KB
1200 × 800 px, avif
- Width
- 1,200
- Height
- 800
- Encoding
- avif
Output · sample.pdf · 33 KB
PDF 1.4, 1 page, no text layer, 1 image object
- Version
- 1.4
- Pages
- 1
- Images
- 1
- Text layer
- no
- Image metadata stripped from output.
Options
- width
- Set the output width in pixels.
- height
- Set the output height in pixels.
- fit
- Contain, cover, or fill within the requested dimensions.
- quality
- Set lossy output quality where the codec supports it.
- background
- Fill transparency with this color for opaque formats.
- stripMetadata
- Remove source metadata when writing the output.
- dpi
- Rasterize SVG or PDF-derived pixels at the requested scale where supported.
Example
input
AVIF image, 1200 × 800 pixelsoutput
PDF image resized or re-encoded without OCR text extractionDo it in code
python
from PIL import Image
img = Image.open("input.avif")
img.save("output.pdf")AVIF to PDF by API or MCP
The HTTP API and the MCP server run the exact engine this page uses (Image engine); the response carries the same warnings the web converter shows. Check support first with GET /api/v1/pairs?from=avif&to=pdf.
curl
curl -X POST https://filetypeconverters.com/api/v1/convert \
-H "Authorization: Bearer $FTC_API_KEY" \
-F "file=@input.avif" -F "from=avif" -F "to=pdf" \
-F 'options={"width":0}' \
--output output.pdfOptions this engine accepts for AVIF → PDF
| Key | Applies to | Type | Default |
|---|---|---|---|
| width | Writing PDF | number | 0 |
| height | Writing PDF | number | 0 |
| fit | Writing PDF | contain · cover · fill | contain |
| quality | Writing PDF | number | 90 |
| background | Writing PDF | string | #ffffff |
| stripMetadata | Writing PDF | boolean | true |
This converter works today; a tested write-up of what changes for AVIF → PDF is in progress.