macOS
brew install libpnglocal Homebrew formula metadata
sudo port install libpngMacPorts ports tree · graphics/libpng/Portfile · source: api.github.com
brew
Library for manipulating PNG images. Version 1.6.58 via Homebrew; verified 2026-07-05.
install
brew install libpnglocal Homebrew formula metadata
sudo port install libpngMacPorts ports tree · graphics/libpng/Portfile · source: api.github.com
sudo apk add libpngAlpine Linux edge package indexes · libpng · source: dl-cdn.alpinelinux.org
sudo dnf install libpngFedora Rawhide package metadata · libpng · source: dl.fedoraproject.org
nix profile install nixpkgs#libpngnixpkgs package indexes · pkgs/by-name/li/libpng/package.nix · source: api.github.com
sudo pacman -S libpngArch Linux sync databases · libpng · source: geo.mirror.pkgbuild.com
sudo zypper install libpng12-0openSUSE Tumbleweed package metadata · libpng12-0 · source: download.opensuse.org
overview
Library for manipulating PNG images
history
libpng is the official Portable Network Graphics reference library. It is the C library most closely associated with reading, writing, testing, and demonstrating PNG behavior across free and proprietary software.
libpng began in 1995 during the early PNG effort, when the image format was designed as a patent-unencumbered replacement path for GIF-era workflows. The upstream README credits Guy Eric Schalnat as the original author and former maintainer, followed by Andreas Dilger, Glenn Randers-Pehrson, and Cosmin Truta.
The README's historical notes say libpng was in extensive use and testing from mid-1995, that 0.89 was the first official release in 1996, and that 1.0.0 was released in March 1998 after API churn had settled. Later history focused on keeping the public API stable while hiding internal structures and moving callers toward accessor functions.
libpng's adoption follows PNG itself: once PNG became a web and graphics interchange staple, the reference library became a common dependency for image viewers, browsers, toolkits, converters, and build systems.
The upstream home page emphasizes that libpng supports almost all PNG features, is extensible, and has been tested for more than 30 years. That longevity is why distributions treat it as base image infrastructure rather than an optional graphics experiment.
Developers use libpng to read, inspect, transform, and write PNG streams from C and C-compatible languages. The package also ships small tools such as `pngfix` and config helpers used by builds.
The manual, example.c, pngtest.c, and bundled test images make libpng both a production library and a reference implementation that other encoders and decoders can compare against.
libpng is one of the canonical small C libraries that sits underneath a surprising amount of desktop, web, and server software. Its packaging details matter because a security fix or ABI break can affect a large image-processing dependency graph.
It is also a reference-library package in the strict sense: package maintainers are not just shipping any PNG implementation, but the implementation maintained by the PNG development community as the official reference library.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
libpng-config | cli | global executable | |
libpng16-config | cli | global executable | |
png-fix-itxt | cli | global executable | |
pngfix | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.libpng.org/pub/png/libpng.html
install metadata
| Package key | brew:libpng |
|---|---|
| Version | 1.6.58 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libpng |
| Homepage | https://www.libpng.org/pub/png/libpng.html |
| Repository | https://github.com/pnggroup/libpng |
| Upstream docs | https://www.libpng.org/pub/png/libpng-manual.txt |
| License | libpng-2.0 |
| Source archive | https://downloads.sourceforge.net/project/libpng/libpng16/1.6.58/libpng-1.6.58.tar.xz |
| Last updated | 2026-07-05T00:14:30+09:00 |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libpng |
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libpng
nix profile install nixpkgs#libpnglibpng 1.6.58-r1
Portable Network Graphics library
sudo apk add libpnglibpng-dev 1.6.58-r1
Portable Network Graphics library (development files)
sudo apk add libpng-devlibpng-doc 1.6.58-r1
Portable Network Graphics library (documentation)
sudo apk add libpng-doclibpng-static 1.6.58-r1
Portable Network Graphics library (static library)
sudo apk add libpng-staticlibpng-utils 1.6.58-r1
Portable Network Graphics library (pngfix utils)
sudo apk add libpng-utilslibpng 1.6.58-1.fc45
A library of functions for manipulating PNG image format files
http://www.libpng.org/pub/png/
sudo dnf install libpnglibpng-devel 1.6.58-1.fc45
Development tools for programs to manipulate PNG image format files
http://www.libpng.org/pub/png/
sudo dnf install libpng-devellibpng-static 1.6.58-1.fc45
Static PNG image format file library
http://www.libpng.org/pub/png/
sudo dnf install libpng-staticlibpng-tools 1.6.58-1.fc45
Tools for PNG image format file library
http://www.libpng.org/pub/png/
sudo dnf install libpng-toolslibpng 1.6.58-1
A collection of routines used to create PNG format graphics files
http://www.libpng.org/pub/png/libpng.html
sudo pacman -S libpnglibpng12-0 1.2.59-5.2
Library for the Portable Network Graphics Format (PNG)
http://www.libpng.org/pub/png/libpng.html
sudo zypper install libpng12-0libpng16-16 1.6.57-1.2
Library for the Portable Network Graphics Format (PNG)
http://www.libpng.org/pub/png/libpng.html
sudo zypper install libpng16-16libpng
sudo port install libpngsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.