Skip to content
cosmodev ~/tools/gif-frame-extractor

Trích xuất khung hình GIF

Images & Media

Tách GIF động thành các khung hình PNG kèm độ trễ từng khung — giải mã bằng trình phân tích GIF thuần của riêng chúng tôi, hoàn toàn trong trình duyệt. Không tải lên bất kỳ thứ gì.

Chọn một GIF để xem các khung hình của nó.

(Tài liệu bằng tiếng Anh)

GIF Frame Extractor

What it does

Decodes an animated GIF and exports every frame as a PNG, with each frame’s delay shown in milliseconds. The decoder is our own from-scratch GIF89a parser — header, color tables, graphic-control extensions and LZW image data — with no external library and no network access; the file never leaves your browser. Transparency is preserved (transparent palette indices become alpha).

How to use

  1. Drop a .gif file.
  2. Press Extract — frames render as a strip with their delays.
  3. Save individual frames or download every PNG at once.

Examples

A 12-frame spinner GIF extracts to spinner-frame-001.png … spinner-frame-012.png, each labeled with its dwell time (commonly 100 ms).

Good to know

  • Frame sizes follow the GIF’s frame rectangles — optimized GIFs often store only the changed region per frame after the first.
  • The decoder handles interlaced frames, local color tables and the NETSCAPE loop counter.
  • The same parsing logic ships as a Go CLI twin, so the behavior is cross-checked between implementations.
Mã nguồn14 ngôn ngữ

100% phía client · dữ liệu của bạn không bao giờ rời khỏi trình duyệt. Thấy hữu ích? Chia sẻ với đồng nghiệp của bạn.