Vertopal

Animated Portable Network Graphics (.apng)

APNG which stands for Animated Portable Network Graphics is an animated raster image file format first introduced by Mozilla. It extends the PNG standards to add support for animated images.

Unlike GIF which only uses 8-bit indexed color mode, APNG supports 24-bit color depth and many color modes, as PNG does. Although it is not an official PNG extension, it is backward compatible; meaning, an application that supports PNG (but not APNG), is still able to open the first frame of the APNG file.

APNG Specifications

Name Animated Portable Network Graphics
File Extension(s) .apng
Category Raster Images
Use For Basic animations such as throbbers and progress indicators, animated stickers and etc.
Developer Mozilla
MIME Type(s) image/apng image/vnd.mozilla.apng
License Free and open under the Creative Commons Attribution-ShareAlike license (CC-BY-SA) version 3.0 or later.
File Sample(s) N/A
Compression Lossless, DEFLATE algorithm.
Max Dimensions 2,147,483,647×2,147,483,647 pixels
Color Modes
Mode Bits Description
Greyscale 1, 2, 4, 8, and 16 Each pixel consists of a single D-bit value indicating the brightness of the greyscale pixel.
True color 8 and 16 Each pixel is represented by three D-bit values indicating the level of the red, green, and blue color components.
Indexed color 1, 2, 4, and 8 Each pixel is a D-bit value indicating an index into a color palette which is contained within a PLTE chunk in the APNG file; the colors in the palette all use an 8-bit depth.
Greyscale with alpha 8 and 16 Each pixel is represented by two D-bit values: the intensity of the greyscale pixel and an alpha sample, indicating how opaque the pixel is.
True color with alpha 8 and 16 Each pixel is comprised of four D-pixel color components: red, green, blue, and the alpha sample indicating how opaque the pixel is.
Animation Yes
Transparency Yes
Interlacing Yes
Metadata Yes
Layers No
Multipage Yes
Loading, Please Wait...