macOS
brew install pngquantlocal Homebrew formula metadata
sudo port install pngquantMacPorts ports tree · graphics/pngquant/Portfile · 来源: api.github.com
安装
brew install pngquantlocal Homebrew formula metadata
sudo port install pngquantMacPorts ports tree · graphics/pngquant/Portfile · 来源: api.github.com
sudo apk add pngquantAlpine Linux edge package indexes · pngquant · 来源: dl-cdn.alpinelinux.org
sudo apt install pngquantDebian stable package indexes · pngquant · 来源: deb.debian.org
sudo dnf install pngquantFedora Rawhide package metadata · pngquant · 来源: dl.fedoraproject.org
nix profile install nixpkgs#pngquantnixpkgs package indexes · pkgs/by-name/pn/pngquant/package.nix · 来源: api.github.com
sudo pacman -S pngquantArch Linux sync databases · pngquant · 来源: geo.mirror.pkgbuild.com
sudo zypper install pngquantopenSUSE Tumbleweed package metadata · pngquant · 来源: download.opensuse.org
choco install pngquantChocolatey community package catalog · pngquant · 来源: community.chocolatey.org
scoop install main/pngquantScoop official bucket manifest trees · bucket/pngquant.json · 来源: api.github.com
概览
PNG image optimizing utility
历史
pngquant is a command-line utility and library for lossy conversion of full-color PNG images to compact eight-bit palette images while retaining full alpha transparency.
The official site credits Greg Roelofs and Jef Poskanzer's earlier project as pngquant's origin and identifies Kornel Lesiński and contributors as its later developers. Version 2 introduced the modern high-quality implementation; current releases are written in Rust, while the prior C99 line remains part of the project's history.
pngquant became broadly packaged across Linux, macOS, and Windows ecosystems and is integrated into GUIs, server-side software, and image-optimization services. The supplied package facts list APK, Homebrew, Chocolatey, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, and openSUSE coverage.
Use pngquant on one or many PNG files, or place it in a Unix stdin/stdout pipeline. Its principal controls set color count, minimum and maximum quality, output suffix, and a speed-versus-quality tradeoff. It is commonly followed by a lossless optimizer.
pngquant is a standard package-manager building block for reducing web-image size while preserving alpha transparency. Its evolution from a C utility into a Rust-based CLI backed by libimagequant also makes it notable to maintainers tracking native build systems, library packaging, and reproducible image pipelines.
安全态势
doc example: narrow image optimizer.
绿色 风险 · 高 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
pngquant | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:pngquant |
|---|---|
| 版本 | 3.0.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/pngquant |
| 主页 | https://pngquant.org/ |
| 仓库 | https://github.com/kornelski/pngquant |
| 上游文档 | https://pngquant.org/ |
| 许可证 | GPL-3.0-or-later AND HPND AND BSD-2-Clause |
| 源码归档 | https://static.crates.io/crates/pngquant/pngquant-3.0.3.crate |
| 最后更新 | 2026-09-11T04:40:31Z |
| Pulse | updated |
| 依赖 | libpng, little-cms2 |
| 构建依赖 | pkgconf, rust |
| Bottle | 可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pngquant |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
pngquant 2.18.0-1+b1
PNG (Portable Network Graphics) image optimising utility
sudo apt install pngquantpngquant
nix profile install nixpkgs#pngquantpngquant 2.18.0-1build2
PNG (Portable Network Graphics) image optimising utility
sudo apt install pngquantpngquant 3.0.3-r0
Lossy PNG compressor
sudo apk add pngquantpngquant-doc 3.0.3-r0
Lossy PNG compressor (documentation)
sudo apk add pngquant-docpngquant 2.18.0-13.fc45
PNG quantization tool for reducing image file size
sudo dnf install pngquantpngquant 3.0.3-3
Command-line utility to quantize PNGs down to 8-bit paletted PNGs
sudo pacman -S pngquantpngquant 3.0.3-1.6
Tool for lossy compression of PNG images
sudo zypper install pngquantpngquant
sudo port install pngquantpngquant
choco install pngquantmain/pngquant
scoop install main/pngquant来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.