# Install gif2png with Homebrew, dnf, pacman

Convert GIFs to PNGs. Version 3.0.3 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:gif2png
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gif2png
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install gif2png
```

  Evidence: Fedora Rawhide package metadata: gif2png from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S gif2png
```

  Evidence: Arch Linux sync databases: gif2png from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:gif2png
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gif2png>
- **Version:** 3.0.3
- **Source summary:** Convert GIFs to PNGs
- **Homepage:** <http://www.catb.org/~esr/gif2png/>
- **Repository:** <https://gitlab.com/esr/gif2png>
- **Upstream docs:** <http://www.catb.org/~esr/gif2png>
- **License:** BSD-2-Clause
- **Source archive:** <https://gitlab.com/esr/gif2png/-/archive/3.0.3/gif2png-3.0.3.tar.bz2>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- gif2png (cli)
- web2png (cli)
- gif2png (alias)
- web2png (alias)

## Build dependencies

- go
- xmlto

## Uses from macOS

- python

## 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, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.0.3
- Local data: ok
- Upstream repository: http://www.catb.org/~esr/gif2png/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

gif2png is a classic image-conversion utility that converts GIF files to PNG and ships with `web2png`, a front end for converting web hierarchies and rewriting image references. It is strongly associated with the late-1990s move from GIF toward PNG on the open web.

### Project history

The project predates its GitLab hosting and has a long changelog preserved by Eric S. Raymond's project page. The NEWS file shows releases in 1999 leading up to version 2.0.0, which was marked ready for Burn All GIFs Day, a campaign-era milestone in PNG advocacy.

Development continued through portability, packaging, and correctness work: DocBook documentation in 2002, RPM and Freshmeat packaging updates in 2003, libpng and security fixes in the 2000s and 2010s, a simpler makefile after Autotools removal in 2015, a Go port in 2019, and Go module packaging in 2023.

### Adoption history

gif2png's adoption was rooted in a specific historical problem: GIF was ubiquitous but politically and technically contentious, while PNG offered a patent-free replacement for many web graphics. The utility gave web maintainers a batchable path to convert image assets and update references.

The package's continued presence in Homebrew, Fedora, Arch, and other packaging indexes reflects its role as a small, stable conversion tool rather than a large image suite. Users who need this exact conversion can install a purpose-built command instead of pulling in a broad graphics application.

### How it is used

Practitioners use `gif2png` for file-level GIF to PNG conversion and `web2png` when converting a directory tree of web pages and image references. The README describes POSIX and Go build requirements, a regression test suite, and the `make check` workflow.

Typical use is archival cleanup, static-site maintenance, packaging tests around image conversion, or migration of old GIF-heavy web assets to PNG.

### Why package nerds care

gif2png is package-nerd significant because it is old, focused, and still easy to package. Its changelog records decades of small portability and correctness fixes, including security hardening and a language-port transition from C-era tooling to Go while keeping the command-line identity intact.

### Timeline

- 1999: Version 2.0.0 was prepared for Burn All GIFs Day.
- 2002: Documentation masters moved to DocBook.
- 2003: RPM and Freshmeat packaging updates landed in the 2.5 series.
- 2012: A filename buffer overflow fix for CVE-2009-5018 was released.
- 2015: Autotools was removed in favor of a simple makefile.
- 2019: The code was ported to Go.
- 2023: The build was converted to a Go module.
- 2026: Version 3.0.4 updated web2png for Python 3.

### Related projects

- gif2png is related to PNG, GIF, libpng, web2png, Burn All GIFs Day, and small Unix-style image conversion utilities.

### Sources

- <http://www.catb.org/~esr/gif2png>
- <http://www.catb.org/~esr/gif2png/NEWS.adoc>
- <https://gitlab.com/esr/gif2png>
- <https://gitlab.com/esr/gif2png/-/tags>


## 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:** gif2png
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- dnf - gif2png - 3.0.4-1.fc45: normalized package name match | Fedora Rawhide package metadata: gif2png from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A GIF to PNG converter | http://www.catb.org/~esr/gif2png/
- pacman - gif2png - 3.0.3-2: normalized package name match | Arch Linux sync databases: gif2png from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A GIF to PNG image format converter | http://www.catb.org/~esr/gif2png/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow 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.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched web development metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [xmlto](https://www.automicvault.com/pkg/brew/xmlto/) - Build dependency declared by Homebrew.
- [makeicns](https://www.automicvault.com/pkg/brew/makeicns/) - Shares av.db curated category or tags: cli, conversion, image, image-conversion, media.
- [gifcap](https://www.automicvault.com/pkg/brew/gifcap/) - Shares av.db curated category or tags: cli, gif, image, media.
- [gifify](https://www.automicvault.com/pkg/brew/gifify/) - Shares av.db curated category or tags: cli, conversion, gif, media.
- [gifsicle](https://www.automicvault.com/pkg/brew/gifsicle/) - Shares av.db curated category or tags: cli, gif, image, media.
- [gifski](https://www.automicvault.com/pkg/brew/gifski/) - Shares av.db curated category or tags: cli, gif, image, media.
- [gimme-aws-creds](https://www.automicvault.com/pkg/brew/gimme-aws-creds/) - Shares av.db curated category or tags: cli, gif, image, media.
- [pdf2image](https://www.automicvault.com/pkg/brew/pdf2image/) - Shares av.db curated category or tags: cli, conversion, image-conversion, media.
- [swiftdraw](https://www.automicvault.com/pkg/brew/swiftdraw/) - Shares av.db curated category or tags: cli, conversion, media, png.
- [apng2gif](https://www.automicvault.com/pkg/brew/apng2gif/) - Both packages work with overlapping file formats or content types. Shared terms: cli, conversion, convert, gif, image.
- [exiftran](https://www.automicvault.com/pkg/brew/exiftran/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, media.

## Combined YAML source

View the package source record on GitHub. [combined/gif2png.yml](https://github.com/automic-vault/db/blob/main/combined/gif2png.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
