Check transparency when converting AVIF to PNG
Admin ·
Decode a still AVIF into PNG pixels with alpha. Leave the maximum side at zero to keep the rendered size, or set a smaller limit. Check the rotation.
Inspect three kinds of pixels
Start with a 65 × 41 AVIF containing a clear corner, a translucent green area and an opaque blue mark. Export a PNG and view it over both black and white. The corner should show the surface behind it, the green should blend and the blue mark should stay opaque.
Check the orientation and dimensions
Rotate the same landscape image clockwise by 90 degrees. At its original scale, the PNG should measure 41 × 65 pixels. Look at the location of an asymmetric mark to verify the rotation before using the file.
Decide whether a larger PNG is useful
If an editor needs a pixel grid with transparency, a PNG of the decoded still image can be practical even when its file size increases. To check it, sample an edge on a colored backdrop. Comparing only two opaque previews can hide a lost alpha channel.
Keep the source for a sequence or for details that the rendered still cannot represent. Re-encoding a blurred edge into PNG preserves the blurred rendering.
Common questions
Does saving to PNG restore lost detail?
The PNG stores the decoded image. Compression artifacts already present in the AVIF become part of the rendered pixels.
What happens to an animated AVIF?
The tool reports a sequence error. Export the still frame you want before starting the conversion.