# Install apng2gif with Homebrew, apt, Nix

Convert APNG animations into animated GIF format. Version 1.8 via Homebrew; verified from local package data.

## 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
- **Package manager page:** <https://formulae.brew.sh/formula/apng2gif>
- **Version:** 1.8
- **Source summary:** Convert APNG animations into animated GIF format
- **Homepage:** <https://apng2gif.sourceforge.net/>
- **Upstream docs:** <https://apng2gif.sourceforge.net/>
- **License:** libpng-2.0 AND Zlib
- **Source archive:** <https://downloads.sourceforge.net/project/apng2gif/1.8/apng2gif-1.8-src.zip>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- apng2gif (cli)
- apng2gif (alias)

## Dependencies

- libpng

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.8
- Local data: ok
- Upstream repository: https://apng2gif.sourceforge.net/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## 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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** apng2gif
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [libpng](https://www.automicvault.com/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [gif2png](https://www.automicvault.com/pkg/brew/gif2png/) - Shares av.db curated category or tags: cli, gif, image-conversion, media.
- [gifski](https://www.automicvault.com/pkg/brew/gifski/) - Shares av.db curated category or tags: animation, cli, gif, media.
- [agg](https://www.automicvault.com/pkg/brew/agg/) - Shares av.db curated category or tags: cli, gif, media.
- [apngasm](https://www.automicvault.com/pkg/brew/apngasm/) - Shares av.db curated category or tags: apng, cli, media.
- [durdraw](https://www.automicvault.com/pkg/brew/durdraw/) - Shares av.db curated category or tags: animation, cli, media.
- [gifcap](https://www.automicvault.com/pkg/brew/gifcap/) - Shares av.db curated category or tags: cli, gif, media.
- [gifify](https://www.automicvault.com/pkg/brew/gifify/) - Shares av.db curated category or tags: cli, gif, media.
- [gifsicle](https://www.automicvault.com/pkg/brew/gifsicle/) - Shares av.db curated category or tags: cli, gif, media.
- [imagemagick](https://www.automicvault.com/pkg/brew/imagemagick/) - Both packages work with overlapping file formats or content types. Shared terms: cli, conversion, convert, image, image-conversion.
- [jp2a](https://www.automicvault.com/pkg/brew/jp2a/) - Both packages work with overlapping file formats or content types. Shared terms: cli, conversion, convert, image, image-conversion.
- [libicns](https://www.automicvault.com/pkg/brew/libicns/) - Both packages work with overlapping file formats or content types. Shared terms: cli, conversion, format, image, image-conversion.

## Combined YAML source

View the package source record on GitHub. [combined/apng2gif.yml](https://github.com/automic-vault/db/blob/main/combined/apng2gif.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
