Convert APNG to AVIF
Turn APNG images into AVIF. An animated AVIF with every frame of the APNG, its timing and its transparency, looping as before, lossy at quality 60 unless asked otherwise.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop APNG files on the dialor turn it to pick what to do
An animated AVIF from your animated PNG.Every frame, its timing and its transparency come across, and the loop stays as before.
What you get
One AVIF file with every frame of the APNG. The timing of the frames is kept, and so is the transparency. The animation loops as before.
The conversion is lossy and runs at quality 60 unless you ask for something else. If the APNG has only one frame, you get a still AVIF.
Quality and size
Set Quality to a value from 1 to 100. A higher value keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
Set Max width or Set Max height to shrink a large animation. Anything larger than the limit is reduced and keeps its shape. Anything smaller stays as it is, so nothing is enlarged.
Turning the result
Set Rotate to turn the result clockwise by 90, 180 or 270 degrees. Without it, the animation keeps its original orientation.
If you need to go the other way, AVIF to APNG converts back. You can also see every AVIF conversion.
APNG and AVIF.What each format is, and the options this conversion takes.
- 01 · max_height
Max height (px)
Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.
1 to 20000 - 02 · max_width
Max width (px)
Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.
1 to 20000 - 03 · quality
Quality
How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
1 to 100 default 60 - 04 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270
The formats
Animated PNG
Animated PNG, full-color animation with alpha.
- Extensions
- .apng
- MIME type
- image
/apng - Kind
- Images
AVIF
AV1-based images with better compression than WebP and support for HDR and alpha.
- Extensions
- .avif
- MIME type
- image
/avif - Kind
- Images
In your code.The same APNG to AVIF conversion through the API, for your app or your agent.
$ cv convert photo.apng photo.avif$ cv convert photo.apng photo.avifQuestions.What people ask about APNG to AVIF.
Yes. All frames are kept, along with their timing, and the animation loops as before.
Yes. The transparency of the APNG is kept in the AVIF.
You get a still AVIF instead of an animated one.
Yes. It is lossy at quality 60 unless you change Quality. Raise it to keep more detail, at the cost of a bigger file.