---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zopflipng

> PNG compression utility.
> More information: <https://github.com/google/zopfli>.

- Optimize a PNG:

`zopflipng {{input.png}} {{output.png}}`

- Optimize several PNGs and save with given prefix:

`zopflipng --prefix={{prefix}} {{image1.png image2.png image3.png ...}}`
