What APNG is
APNG stands for Animated PNG. It is an extension of the PNG format that stores an animation as a series of PNG frames. It keeps full color and smooth transparency, which GIF cannot. Browsers show APNG animated, but many apps that don’t know the format display only the first frame, and that is the main reason to convert it to a GIF.
What the conversion does
The tool reads every frame and its timing from the APNG and writes them as a GIF. The animation keeps its speed and its loop. Transparency is carried over, with one limit: a GIF pixel is either fully transparent or fully solid. Soft edges, such as drop shadows and anti-aliased outlines, therefore become hard-edged, and a pale halo can show on a dark background.
Color and file size
An APNG can have millions of colors; a GIF has at most 256 per frame. The tool builds a palette for the GIF, and you can turn dithering on to hide banding in gradients or turn it off for cleaner flat colors and lighter files. GIF files are often larger than APNG files for the same animation, so reduce the width or the number of colors if the result is too heavy, or use the GIF compressor.
Where APNG and GIF each fit
- APNG is best for web pages and apps that support it, when quality and soft transparency matter.
- GIF is best when the animation must work everywhere: chats, forums, email programs, older software.
The guide GIF vs MP4 vs WebP goes through these trade-offs for the other formats as well.
Related conversions
To go the other way, use GIF to APNG. For animated WebP files, try WebP to GIF. If you have a video, use Video to GIF. To edit the result, open the GIF editor.
Checking the result
After conversion, play the GIF in the browser and compare it with the original. Pay attention to the edges of transparent areas, which will be sharper, and to gradients, which may show bands. If a gradient looks bad, turn dithering on; if the edges look rough on your background, consider keeping the APNG for the places that support it and using the GIF only where you must.