pkg.soopen package index

brew / 排名 2929

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop 安装 pngcrush

查看 pngcrush 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install pngcrush

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install pngcrush

MacPorts ports tree · graphics/pngcrush/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add pngcrush

Alpine Linux edge package indexes · pngcrush · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install pngcrush

Debian stable package indexes · pngcrush · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install pngcrush

Fedora Rawhide package metadata · pngcrush · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#pngcrush

nixpkgs package indexes · pkgs/by-name/pn/pngcrush/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S pngcrush

Arch Linux sync databases · pngcrush · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install pngcrush

openSUSE Tumbleweed package metadata · pngcrush · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/pngcrush

Scoop official bucket manifest trees · bucket/pngcrush.json · 来源: api.github.com

概览

软件包摘要

Optimizer for PNG files

命令和别名

  • pngcrush

历史

项目历史与用法

Pngcrush is a command-line optimizer that losslessly reduces PNG files by trying combinations of PNG filters and zlib compression settings; it can also remove, preserve, or add ancillary chunks.

项目历史

Glenn Randers-Pehrson created pngcrush as a command-line PNG optimizer in the PNG and MNG Tools project. Its central design repeatedly compresses image data using different PNG filters and zlib settings, retaining the smallest valid result.

The early 1.x line moved from registration-gated distribution to an open-source license and expanded from recompression into chunk editing, metadata operations, recovery of some malformed files, color reductions, and platform portability.

采用历史

pngcrush became part of the classic Unix PNG-optimization toolkit and has been packaged across numerous Linux, BSD, macOS, and Windows-oriented package collections. Its portability and scriptable interface make it suitable for build, publishing, and asset pipelines.

Its continued maintenance has followed libpng and zlib closely, incorporating new chunks, parser fixes, architecture optimizations, and changes needed to build against different library generations.

使用方式

Users run pngcrush on an input and output PNG, optionally selecting a compression method or a wider search. The default workflow preserves image pixels while seeking a smaller IDAT stream.

Additional options can remove unwanted ancillary chunks, add or rewrite metadata, repair certain CRC and structural errors, preserve timestamps, or overwrite through a temporary output file.

为什么软件包爱好者会关心

pngcrush exposes the search space behind lossless PNG compression: filters, Deflate levels, strategies, chunk handling, and optional brute-force trials. It appeals to package and release engineers who need deterministic pixel preservation and detailed control over the output datastream.

The project also illustrates the maintenance burden of long-lived native image tools, including bundled-versus-system libraries, format extensions, security fixes, and architecture-specific optimization.

时间线

  • Early 1.x era: pngcrush began as Glenn Randers-Pehrson's PNG recompression utility.
  • Version 1.2.0: Registration was removed and the project adopted an open-source license.
  • Version 1.4.5: Recovery and color-analysis capabilities expanded.
  • Version 1.7.0: Limited animated-PNG chunk preservation was added.
  • Version 1.8: Performance controls and additional architecture optimizations were introduced.

Related projects

  • OptiPNG was inspired by pngcrush and explores a similar lossless filter-and-compression search space with a different in-memory design and preset model.
  • libpng and zlib are the core PNG and Deflate implementations maintained alongside or used by pngcrush.
  • pngnq's official workflow recommends pngcrush as a second-stage lossless compressor after palette quantization.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 7 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
pngcrushcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-11-04
管理器版本1.8.13
管理器更新时间2026-09-11
本地数据OK
上游not checked
检测到的最新版本未检测到

https://pmt.sourceforge.io/pngcrush/

安装元数据

软件包元数据

软件包键brew:pngcrush
版本1.8.13
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/pngcrush
主页https://pmt.sourceforge.io/pngcrush/
上游文档https://pmt.sourceforge.io/pngcrush/
许可证LicenseRef-Homebrew-cannot-represent
源码归档https://downloads.sourceforge.net/project/pmt/pngcrush/1.8.13/pngcrush-1.8.13-nolib.tar.xz
最后更新2026-09-11T13:19:04Z
Pulseupdated
依赖libpng
Bottle可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepngcrush
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

pngcrush 1.8.13-1+b1

optimizes PNG (Portable Network Graphics) files

http://pmt.sourceforge.net/pngcrush/

sudo apt install pngcrush
  • Section: graphics
  • Architecture: amd64
  • Source Package: pngcrush
  • 3 依赖
  • normalized package name match
  • 匹配方式:Pngcrush
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pngcrush from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

pngcrush

nix profile install nixpkgs#pngcrush
  • normalized package name match
  • 匹配方式:Pngcrush
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pn/pngcrush/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

pngcrush 1.8.13-1build2

optimizes PNG (Portable Network Graphics) files

http://pmt.sourceforge.net/pngcrush/

sudo apt install pngcrush
  • Section: universe/graphics
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Pngcrush
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pngcrush from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

pngcrush 1.8.13-r2

PNG recompression utility

https://pmt.sourceforge.net/pngcrush/

sudo apk add pngcrush
  • License: Zlib
  • Architecture: x86_64
  • Source Package: pngcrush
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Pngcrush
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pngcrush from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

pngcrush 1.8.13-27.fc45

Optimizer for PNG (Portable Network Graphics) files

http://pmt.sourceforge.net/pngcrush/

sudo dnf install pngcrush
  • License: Zlib
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: pngcrush
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Pngcrush
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: pngcrush from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
pacman95%

pngcrush 1.8.13-4

Tool for optimizing the compression of PNG files

http://pmt.sourceforge.net/pngcrush

sudo pacman -S pngcrush
  • License: custom
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Pngcrush
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: pngcrush from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

pngcrush 1.8.13-2.9

Optimizer for PNG Files that can also insert or delete specified Chunks

https://pmt.sourceforge.io/pngcrush/

sudo zypper install pngcrush
  • License: Zlib
  • Category: Productivity/Graphics/Other
  • Architecture: x86_64
  • Source Package: pngcrush
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Pngcrush
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: pngcrush from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
MacPorts95%

pngcrush

sudo port install pngcrush
  • normalized package name match
  • 匹配方式:Pngcrush
MacPorts ports tree · api.github.com · MacPorts ports tree: graphics/pngcrush/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/pngcrush

scoop install main/pngcrush
  • normalized package name match
  • 匹配方式:Pngcrush
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/pngcrush.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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