added pngcrush

This commit is contained in:
Alexander Popov 2023-09-30 20:48:00 +03:00
parent 026abad0ef
commit b8f6d98623
Signed by: iiiypuk
GPG Key ID: E47FE0AB36CD5ED6
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
---
title: "🖼️ pngcrush — инструмент для оптимизации сжатия PNG-файлов"
date: 2023-09-30T20:44:15+03:00
draft: false
tags: [tools, images]
---
`pngcrush` — Tool for optimizing the compression of PNG files.
`pngcrush` — Инструмент для оптимизации сжатия PNG-файлов.
URL: http://pmt.sourceforge.net/pngcrush.
Пакет есть в репозиториях `Arch` и `Ubuntu`.
**Пример работы утилиты:**
```sh
pngcrush -brute jfxr.png jfxr2.png
```
```text
Warning: versions are different between png.h and png.c
png.h version: 1.6.37
png.c version: 1.6.40
Recompressing IDAT chunks in jfxr.png to jfxr2.png
Total length of data found in critical chunks = 118940
Best pngcrush method = 7 (ws 15 fm 0 zl 9 zs 0) = 84876
CPU time decode 4.074774, encode 11.337994, other 0.100056, total 15.764133 sec
```