added pngcrush
This commit is contained in:
parent
026abad0ef
commit
b8f6d98623
29
content/posts/2023/pngcrush.md
Normal file
29
content/posts/2023/pngcrush.md
Normal 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
|
||||
```
|
Loading…
Reference in New Issue
Block a user