xtract.bot
POST /api/avif-to-png

Convert AVIF images to PNG. Lossless. Useful when you have an AVIF (Apple Photos exports, modern CDN deliveries) and need a format older tooling can read.

Reads an AVIF image and returns the same picture as a lossless PNG. The output is pixel-for-pixel equivalent to the AVIF's decoded form, so transparency is preserved and no further loss is introduced. Useful when you receive an AVIF (Apple Photos exports, modern CDNs, screenshots from new browsers) and need to feed it into older tooling — image editors, OCR pipelines, design tools, browsers below Chrome 85 / Safari 16. Note: PNG output is typically much larger than the AVIF input (often 5–10×) because PNG lacks AVIF's perceptual compression.

Inputs

NameTypeDefaultDescription
image*fileInput AVIF bytes.

Response

Modes: binary, base64-json. Cache: yes (24h TTL).