pkg.sopackage field notes

brew / rank 19

Install libpng with Homebrew

Library for manipulating PNG images. Version 1.6.58 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libpng

provider-native install command

overview

Package summary

Library for manipulating PNG images

Commands and aliases

  • libpng-config
  • libpng16-config
  • png-fix-itxt
  • pngfix

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 1995-03-29: The CHANGES file records libpng version 0.1.
  • 1996-06-05: The CHANGES file records version 0.89, described by the README as the first official release.
  • 1998-03-08: The CHANGES file records version 1.0.0.
  • 2011: The 1.5 line made direct access to png_struct and png_info private, according to the README's historical notes.
  • 2018: The README credits Cosmin Truta as maintainer beginning in 2018.

Related projects

  • PNG is the image format that libpng implements and documents alongside the W3C, RFC, and ISO/IEC specifications.
  • zlib is libpng's compression dependency for DEFLATE data inside PNG files.
  • png-mng-implement is the mailing-list community referenced by upstream for implementation questions.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
libpng-configexecutableindexed executableDiscovered from the local executable index.
libpng16-configexecutableindexed executableDiscovered from the local executable index.
png-fix-itxtexecutableindexed executableDiscovered from the local executable index.
pngfixexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version1.6.58
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:libpng
Version1.6.58
Package managerHomebrew
Homepagehttps://www.libpng.org/pub/png/libpng.html
Repositoryhttps://github.com/pnggroup/libpng
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation