command
module
Version:
v0.0.0-...-dfb6dce
Opens a new window with list of versions in this module.
Published: May 24, 2026
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶

A small, fast Go CLI tool that extracts frames from an animated GIF and saves them as PNG files.
It supports:
- Raw frame extraction (exact stored frames)
- Composited frame rendering (what you visually see when the GIF plays)
- Shorthand and long CLI flags
- Correct handling of GIF disposal methods
Features
- 🚀 Fast and dependency-free (pure Go standard library)
- 🖼️ Export each GIF frame as a PNG
- 🎞️ Correct visual compositing using GIF disposal rules
- 🧩 Optional raw frame dumping (no compositing)
- 🔤 Short and long command-line flags
Installation
Build from source
git clone https://github.com/mr0xb/gif2png.git
cd gif2png
go build -o gif2png
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.