跳到正文

正在自动登录…

← 返回项目列表

heydeer/pngdeer

图像压缩

pngdeer 是一个有损 PNG 压缩工具,自动选择调色板大小和抖动方式,在保持视觉质量的同时减小文件体积,支持命令行和浏览器使用。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/29 10:56:12 · 查看原文

值得看Rust应用与服务
累计 Stars
331
当前热度
1~7 天 · 小火
仓库创建时间
打开 GitHub ↗项目网站 ↗

选用指南

AI 根据 README 整理 · 2026/10/29 10:56:12

使用方式

可通过命令行使用,如 `pngdeer input.png -o output.png`,也可在浏览器中直接使用,无需上传图片。

查看 README 依据
# pngdeer **Smaller PNGs. Same picture.** pngdeer is a lossy PNG compressor with no quality slider: for each image it searches palette sizes from 2 to 256 colors, with and without dithering, scores each result with a perceptual metric, and keeps the smallest file that still looks right. At the same quality, the median image comes out **8–12% smaller than with TinyPNG**, the best result of any open-source compressor we've measured. **[Try it in your browser →](https://heydeer.ai/open-source/pngdeer)** Nothing is uploaded: images are compressed on your device.
[![pngdeer in the browser](.github/pngdeer.png)](https://heydeer.ai/open-source/pngdeer) ```bash brew install heydeer/tap/pngdeer pngdeer input.png -o output.png ``` - **Picks the quality for you**: about what TinyPNG would give the image, never above 90 on SSIMULACRA2's scale, which is indistinguishable at 1:1. - **Same bytes everywhere**: the command line (macOS and Linux) and the browser (WebAssembly, on every core) run the same Rust code and write identical files. - **Big images too**: up to 40 megapixels in the browser, more on the command line.
部署要求

命令行版本支持 macOS 和 Linux,浏览器版本通过 WebAssembly 运行,支持大图像(浏览器中最大 40 兆像素)。

查看 README 依据
[![pngdeer in the browser](.github/pngdeer.png)](https://heydeer.ai/open-source/pngdeer) ```bash brew install heydeer/tap/pngdeer pngdeer input.png -o output.png ``` - **Picks the quality for you**: about what TinyPNG would give the image, never above 90 on SSIMULACRA2's scale, which is indistinguishable at 1:1. - **Same bytes everywhere**: the command line (macOS and Linux) and the browser (WebAssembly, on every core) run the same Rust code and write identical files. - **Big images too**: up to 40 megapixels in the browser, more on the command line.
已知限制

作者未明确说明限制,但浏览器版本有最大图像尺寸限制(40 兆像素),命令行版本可处理更大图像。

查看 README 依据
[![pngdeer in the browser](.github/pngdeer.png)](https://heydeer.ai/open-source/pngdeer) ```bash brew install heydeer/tap/pngdeer pngdeer input.png -o output.png ``` - **Picks the quality for you**: about what TinyPNG would give the image, never above 90 on SSIMULACRA2's scale, which is indistinguishable at 1:1. - **Same bytes everywhere**: the command line (macOS and Linux) and the browser (WebAssembly, on every core) run the same Rust code and write identical files. - **Big images too**: up to 40 megapixels in the browser, more on the command line.

README

正在加载 README…

收录信息

仓库创建时间
2026/10/25 13:09:24
首次达标收录
2026/10/28 17:52:17
统计更新时间
2026/10/29 19:16:15

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 4.3 / 5

新颖度
3.9
实用价值
4.9
成熟度
4.3
实质含量
3.8

由 Jev 模型根据仓库描述与 README 评估,2026/10/28 17:52:17 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/29 10:28:58
许可证标识
MIT
Fork 数
31
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目