Transparent WebP icon
- Input
- A 96×64 lossless WebP with alpha around overlapping logo shapes, 320 bytes on disk.
- Output
- A 1,088 byte AVIF. It remained an image with transparency support, but the tiny source did not benefit from AVIF size savings.
WebP → AVIF converted our 320 byte transparent WebP into a 1,088 byte AVIF, so small alpha art did not shrink.
From real runs
| Element | Result | What happens |
|---|---|---|
| Decoded pixels | Kept | The conversion starts from the WebP decoder output, so visible content transfers into the AVIF image. |
| Alpha channel | Kept | The transparent WebP source converted successfully to AVIF without requiring a background color. |
| Prior WebP loss | Kept | If the WebP was lossy, AVIF receives those already-compressed pixels and cannot reconstruct the original. |
| Small asset size | Changed | Our tiny transparent WebP expanded from 320 bytes to 1,088 bytes in the AVIF output. |
| Animation | Lost | The image engine reader flattens animated inputs to the first frame before writing single-image AVIF. |
| Metadata | Changed | WebP container fields are not preserved as a matching metadata set in the AVIF derivative. |
The conversion starts from the WebP decoder output, so visible content transfers into the AVIF image.
The transparent WebP source converted successfully to AVIF without requiring a background color.
If the WebP was lossy, AVIF receives those already-compressed pixels and cannot reconstruct the original.
Our tiny transparent WebP expanded from 320 bytes to 1,088 bytes in the AVIF output.
The image engine reader flattens animated inputs to the first frame before writing single-image AVIF.
WebP container fields are not preserved as a matching metadata set in the AVIF derivative.
We converted our WebP sample (23 KB) with Image engine on 2026-10-20. It took 188 ms and produced a 21 KB AVIF file, about the same size as the input. The engine raised 1 warning, listed below.
Input · sample.webp · 23 KB
1200 × 800 px, extended VP8X
Output · sample.avif · 21 KB
1200 × 800 px, avif
WebP → AVIF is the wrong first step for screenshots that need extraction. Run OCR or table extraction on the image content instead of only changing the codec.
ImageMagick 7
magick in.webp -quality 80 out.avifYour build must include both WebP and AVIF codecs, and animated WebP handling may differ.
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=webp&to=avif.
curl -X POST https://filetypeconverters.com/api/v1/convert \
-H "Authorization: Bearer $FTC_API_KEY" \
-F "file=@input.webp" -F "from=webp" -F "to=avif" \
-F 'options={"dpi":96}' \
--output output.avif| Key | Applies to | Type | Default |
|---|---|---|---|
| dpi | Reading WebP | number | 96 |
It did for the tested transparent WebP. No background color was needed for the AVIF output.
No. Our tiny alpha WebP grew from 320 bytes to 1,088 bytes, so check actual output before replacing assets.
The image reader flattens animated inputs to the first frame for this still-image path. Use animation or video tooling if motion matters.