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

ตัวแยกเฟรม GIF

Images & Media

แยก GIF อนิเมชันออกเป็นเฟรม PNG พร้อมดีเลย์รายเฟรม — ถอดรหัสด้วย GIF parser ล้วน ๆ ที่เราเขียนเอง ทำงานในเบราว์เซอร์ของคุณทั้งหมด ไม่มีการอัปโหลดใด ๆ

เลือกไฟล์ GIF เพื่อดูเฟรมของมัน

(เอกสารเป็นภาษาอังกฤษ)

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.
ซอร์สโค้ด14 ภาษา

100% ฝั่งไคลเอนต์ · ข้อมูลของคุณไม่ออกจากเบราว์เซอร์ของคุณเลย ใช้แล้วเป็นประโยชน์ไหม แชร์ให้เพื่อนร่วมงานได้เลย