# Install apng2gif with Homebrew, apt, Nix

Convert APNG animations into animated GIF format. Version 1.8 via Homebrew; verified from local package data. Also installable with debian: sudo apt install apng2gif.

## Install

```sh
sudo av install brew:apng2gif
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install apng2gif
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install apng2gif
```

  Evidence: Debian stable package indexes: apng2gif from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#apng2gif
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ap/apng2gif/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:apng2gif
- **Package manager:** Homebrew
- **Version:** 1.8
- **Source summary:** Convert APNG animations into animated GIF format
- **Homepage:** <https://apng2gif.sourceforge.net/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- apng2gif (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.8
## Project history and usage

apng2gif is a small SourceForge-hosted converter that turns Animated PNG files into animated GIFs. The official page says it respects APNG frame delays and loop counts while providing transparency-threshold and background-blending options.

### Project history

The project page presents apng2gif as a focused APNG-to-GIF converter with both a command-line version and a Windows GUI. It is distributed through SourceForge along with source and prebuilt binaries for major desktop operating systems.

The SourceForge 1.8 file page records an improved APNG decoder based on apngdis 2.9, loop-count adjustment, duplicate-frame optimization, and 64-bit Windows binaries. That is about as much public project history as the official sources expose.

### Adoption history

apng2gif adoption is naturally narrow: it serves people who keep high-quality APNG masters but still need GIF output for older or more constrained web/image pipelines. The official page explicitly frames webmasters as a practical audience.

### How it is used

The documented command line is apng2gif anim.png [anim.gif] [-t tlevel] [-b bcolor]. The -t option controls transparency threshold, the -b option blends against a background color, and -b overrides -t.

The project page describes converting 24/32-bit APNG to a single global 256-color GIF palette using a Wu quantization grid, which is the practical tradeoff behind the tool: keep APNG masters, generate GIF fallbacks when needed.

### Why package nerds care

apng2gif is the kind of tiny media converter package that survives because it does one format edge case well. Its value is not breadth; it is a low-friction CLI for APNG fallback assets and batch conversion.

It also sits in a small APNG tools family where each utility handles one direction or maintenance step in an animated-image workflow.

### Timeline

- 2017-05-19: The SourceForge 1.8 file page records source and binary artifacts and README text.
- 2017-05-22: The SourceForge 1.8 file page records the 32-bit Windows GUI binary.
- 1.8: Release notes record an improved decoder based on apngdis 2.9 and duplicate-frame optimization.

### Related projects

- The official page links gif2apng, apngasm, apngdis, and apngopt as related APNG tools.

### Sources

- <https://apng2gif.sourceforge.net/>
- <https://sourceforge.net/projects/apng2gif/files/1.8/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Debian apt - apng2gif - 1.8-5+b1: normalized package name match | Debian stable package indexes: apng2gif from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tool for converting APNG images to animated GIF format | https://apng2gif.sourceforge.net
- Nix - apng2gif: normalized package name match | nixpkgs package indexes: pkgs/by-name/ap/apng2gif/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - apng2gif - 1.8-5build2: normalized package name match | Ubuntu 24.04 LTS package indexes: apng2gif from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tool for converting APNG images to animated GIF format | https://apng2gif.sourceforge.net


## Combined YAML source

View the package source record on GitHub. [combined/apng2gif.yml](https://github.com/mxcl/pkgdb/blob/main/combined/apng2gif.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
