{
 "id": "animated-portable-network-graphics",
 "name": "Animated Portable Network Graphics",
 "category": "image",
 "identifiers": {
  "extensions": [
   "png",
   "apng"
  ],
  "mime": [
   "image/vnd.mozilla.apng",
   "image/png",
   "image/apng"
  ],
  "puid": [
   "fmt/935"
  ],
  "wikidata": [
   "Q433224"
  ],
  "loc_fdd": [
   "fdd000649"
  ],
  "magic": [
   {
    "offset": 0,
    "hex": "89504e470d0a1a0a0000000d49484452",
    "notes": "APNG"
   }
  ],
  "signatures": [
   {
    "name": "APNG",
    "sequences": [
     {
      "position": "bof",
      "offset": 0,
      "pattern": "89504e470d0a1a0a0000000d49484452*6163544c"
     },
     {
      "position": "eof",
      "offset": 0,
      "pattern": "0000000049454e44ae426082"
     },
     {
      "position": "var",
      "pattern": "6663544c00000000"
     }
    ]
   }
  ],
  "priority_over": [
   "fmt/11"
  ]
 },
 "status": "writable",
 "summary": "APNG is an extension of the PNG format, adding support for animated images. It is intended to be a replacement for simple animated images that have traditionally used the GIF format, while adding support for 24-bit images and 8-bit transparency. APNG is intended as a simpler alternative to MNG. APNG is backwards-compatible with PNG; any PNG decoder should be able to ignore the APNG-specific chunks and display a single image.",
 "tools": [
  {
   "name": "ImageMagick",
   "url": "https://imagemagick.org",
   "license": "ImageMagick License",
   "open_source": true,
   "reads": true,
   "writes": true
  },
  {
   "name": "cjxl",
   "url": "https://www.wikidata.org/wiki/Q111903952",
   "reads": true,
   "writes": false,
   "license": "3-clause BSD License",
   "open_source": true
  },
  {
   "name": "libjxl",
   "url": "https://www.wikidata.org/wiki/Q99738405",
   "reads": true,
   "writes": false,
   "license": "3-clause BSD License",
   "open_source": true
  },
  {
   "name": "Mozilla Firefox",
   "url": "https://www.firefox.com",
   "reads": true,
   "writes": false,
   "license": "Mozilla Public License, version 2.0",
   "open_source": true
  },
  {
   "name": "PixiEditor",
   "url": "https://pixieditor.net/",
   "reads": true,
   "writes": false,
   "license": "GNU Lesser General Public License, version 3.0",
   "open_source": true
  },
  {
   "name": "Q138052002",
   "url": "https://pixelorama.org/",
   "reads": true,
   "writes": true,
   "license": "MIT License",
   "open_source": true
  },
  {
   "name": "Q847465",
   "url": "https://ffmpeg.org",
   "reads": true,
   "writes": false,
   "license": "GNU Lesser General Public License, version 2.1 or later",
   "open_source": true
  }
 ],
 "projects": [
  {
   "name": "File Formats Wiki",
   "url": "http://fileformats.archiveteam.org/wiki/APNG",
   "kind": "wiki"
  },
  {
   "name": "Kaitai Struct: png",
   "url": "https://formats.kaitai.io/png/",
   "kind": "grammar",
   "license": "CC0-1.0"
  },
  {
   "name": "PRONOM fmt/935",
   "url": "https://www.nationalarchives.gov.uk/PRONOM/fmt/935",
   "kind": "format-doc"
  },
  {
   "name": "Wikidata Q433224",
   "url": "https://www.wikidata.org/wiki/Q433224",
   "kind": "wiki"
  }
 ],
 "provenance": {
  "sources": [
   "converters",
   "ffw",
   "kaitai",
   "pronom",
   "wikidata"
  ]
 },
 "updated": "2026-10-24",
 "aliases": [
  "APNG"
 ],
 "parsers": [
  {
   "engine": "kaitai",
   "url": "https://github.com/kaitai-io/kaitai_struct_formats/blob/master/image/png.ksy",
   "license": "CC0-1.0"
  }
 ],
 "conversions": [
  {
   "to": "portable-network-graphics",
   "tool": "ImageMagick",
   "command": "convert in.apng out.png",
   "fidelity": "lossless",
   "losses": "Pixels kept; some metadata, colour profiles or layers may be dropped.",
   "url": "https://imagemagick.org"
  },
  {
   "to": "tagged-image-file-format",
   "tool": "ImageMagick",
   "command": "convert in.apng out.tif",
   "fidelity": "lossless",
   "losses": "Pixels kept; some metadata, colour profiles or layers may be dropped.",
   "url": "https://imagemagick.org"
  },
  {
   "to": "jpeg-file-interchange-format-1-02",
   "tool": "ImageMagick",
   "command": "convert in.apng out.jpg",
   "fidelity": "lossy",
   "losses": "Lossy compression.",
   "url": "https://imagemagick.org"
  },
  {
   "to": "webp",
   "tool": "ImageMagick",
   "command": "convert in.apng out.webp",
   "fidelity": "lossy",
   "losses": "Lossy compression.",
   "url": "https://imagemagick.org"
  },
  {
   "to": "gif",
   "tool": "ImageMagick",
   "command": "convert in.apng out.gif",
   "fidelity": "lossy",
   "losses": "Reduced to 256 colours.",
   "url": "https://imagemagick.org"
  }
 ],
 "structure": [],
 "samples": [],
 "claims": [],
 "verification": []
}