Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHDERUPTENFRES

Elysia Tools

Navigation

Compression

APNG IDAT/fdAT Chunk, Streaming Deflate Replay and Disposal Method Frame-Timing Analyzer

· Last updated:2026-09-16

Upload a PNG or APNG and audit the whole animation structure: PNG signature and per-chunk CRC32 checks, IHDR bit depth / color type / interlace, acTL placement and declared frame counts, every fcTL (region bounds inside the canvas, normalized delay fractions, dispose_op none/background/previous, blend_op source/over), the shared fcTL+fdAT sequence-number contract from 0, per-frame replay of the IDAT/fdAT deflate streams with exact decompressed-size verification, and disposal-semantics audit — first-frame PREVIOUS treated as BACKGROUND, zero-delay frames, loop counts, fps and compression ratios.

Details

What this tool helps you do

Implements the Mozilla community APNG specification on top of the ISO PNG chunk model: acTL must precede the first IDAT and its numframes must equal the fcTL count (0 is invalid); the default image joins the animation only when its fcTL precedes the first IDAT and then must cover the full canvas at (0,0); fcTL and fdAT share one sequence space that must run 0,1,2,… without gaps or duplicates, and out-of-order chunks are errors; delayden = 0 is normalized to 100 (hundredths of a second) while delaynum = 0 means render the next frame as fast as possible. Each frame's compressed stream is the concatenation of its IDAT (or fdAT minus the 4-byte sequence number) chunks; after inflation it must measure exactly height × (1 + ceil(width × bitsPerPixel / 8)) with the filter byte per scanline, so truncated or corrupt zlib streams are caught precisely. The disposal replay flags disposeop = PREVIOUS on the first frame (spec-required downgrade to BACKGROUND), counts zero-delay frames and reports whether any frame actually needs the previous-buffer copy. Pure TypeScript with node:zlib — files are analyzed locally in bounded memory.

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Compression
Input types
file, checkbox
Output type
html
Sample coverage
4
API ready
Yes

Overview

The APNG Analyzer audits Animated Portable Network Graphics files by validating chunk headers, sequence numbering, frame timing, disposal semantics, and optional zlib deflate decompression streams against the official APNG specification.

When to use

  • Debugging broken or stuttering APNG animations across different web browsers and image decoders.
  • Verifying sequence numbering and chunk CRC32 integrity after generating animated PNG assets via automated build pipelines.
  • Auditing frame timing, sub-frame coordinate bounds, blend modes, and disposal methods to optimize compression efficiency.

How it works

  1. 1Parses the PNG signature, IHDR parameters, and standard chunk headers while verifying CRC32 checksums and proper acTL positioning.
  2. 2Audits every fcTL frame descriptor for canvas bounds, sequence order starting at 0, normalized delay denominators, and dispose or blend operations.
  3. 3Replays the concatenated IDAT and fdAT deflate streams when enabled to verify Adler-32 checksums and scanline byte dimensions against expected bit-depth layouts.

Use cases

  • Validating animated UI stickers and reaction icons before bundling them into mobile application assets.
  • Testing APNG export plugins and encoder libraries for strict conformance with chunk ordering and sequence rules.
  • Diagnosing render artifacts caused by improper blend_op configurations or mismatched sub-canvas bounding boxes.

Compare alternatives

  • Extract dominant colors from an image, export code-ready tokens, and check contrast ratios

  • AI content-moderation classifier using NSFWJS to flag uploaded images as safe or potentially inappropriate.

  • Convert up to 20 uploaded images, or images inside a ZIP archive, into WebP files packaged as a ZIP

Who it's for

Best for

  • Convert images in the browser.
  • The “3-frame APNG, default image as frame 1 — chunk, timing and deflate replay” workflow, done in one pass.
  • Repeatable jobs with images and the same settings every time.

Not ideal for

  • Fully automated batch jobs — this page is built for interactive use; use the API endpoint for scripts.
  • Files in formats this tool does not accept — it works with .png input.

Edge cases & common failures

  • Very large files

    Large files take longer and can hit browser memory limits — try a smaller sample first.

  • Skipping the output check

    Compare the first rows or pages of the output with the input before using it in production.

  • Files from unusual exporters

    Some files use format variants that do not convert cleanly — if the output looks wrong, re-save the file from the app that created it and try again.

Examples

1. Auditing a 3-Frame Sticker APNG

Frontend Engineer

Background

A design team produced animated badge assets that render with unexpected trailing artifacts on Safari.

Problem

Sub-frame bounding regions and disposal operations need verification to determine why transparent areas retain previous frames.

How to use

Upload the sticker APNG file and check 'Replay and verify IDAT/fdAT deflate streams' to inspect sequence order and disposal flags.

Outcome

Identifies that frame 2 used dispose_op NONE with blend_op OVER instead of clearing the dirty rectangle with BACKGROUND.

2. Verifying APNG Encoder Pipeline Output

DevOps Engineer

Background

A CI/CD image compression pipeline uses a custom script to assemble fdAT chunks from raw animation frames.

Problem

Several generated assets fail to animate in web decoders due to intermittent chunk corruption.

How to use

Submit sample output files from the build step with deflate verification enabled.

Outcome

Pinpoints an out-of-order sequence index in the third fdAT chunk and a CRC32 mismatch caused by an off-by-one payload slicing bug.

FAQ

What happens if delay_den is set to 0 in an fcTL chunk?

According to the APNG specification, a delay_den value of 0 is normalized to 100, treating the delay numerator as hundredths of a second.

How are sequence numbers validated across fcTL and fdAT chunks?

All fcTL and fdAT chunks share a single sequential counter that must begin at 0 and increment strictly by 1 without gaps or duplicates.

Why is dispose_op PREVIOUS flagged on the first frame?

The APNG standard specifies that requesting a restore to previous state on frame 0 must be treated as clearing to background because no prior canvas exists.

What does verifying the deflate streams check?

It inflates the concatenated raw image stream of each frame to confirm zlib integrity and ensure decompressed bytes match expected scanlines and filter bytes.

Does the default PNG image count as an animation frame?

It is counted as the first animation frame only if an fcTL chunk appears before the first IDAT chunk; otherwise, it serves solely as the fallback image.

Home
Tools3212
Samples593
Visualizations471
Viewers103
Hubs239
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance647

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Lead Generation Quiz Launch and Contact Handoff
Memorial Drafts: Family Review and Print Handoff
Private Habit Records: Backup, Restore and Sharing Review
Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Python

Web Image Processing Python Samples

Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion

Media

PNG Samples

Sample PNG images in different aspect ratios and resolutions

Media

PNG Viewer Samples

Sample PNG, BMP and AVIF images for the in-browser PNG Viewer

Go

Web Image Processing Go Samples

Web Go image processing examples including image reading/saving, image resizing, and format conversion

Design

Image Color Palette Extractor

Extract dominant colors from an image, export code-ready tokens, and check contrast ratios

AI Tools

NSFW Image Content Detector

AI content-moderation classifier using NSFWJS to flag uploaded images as safe or potentially inappropriate. Built for moderation and compliance review of your own files — it analyzes uploads only and is not an image search or discovery tool. Supports JPEG/PNG/WEBP/GIF.

Media

Image to WEBP Batch Converter

Convert up to 20 uploaded images, or images inside a ZIP archive, into WebP files packaged as a ZIP

Media

Convert JPEG to PNG

Convert JPEG images to PNG format with transparency support and lossless compression

Image Color Palette Extractor
NSFW Image Content Detector
Image to WEBP Batch Converter