guetzli-recursively/README.md
Andros Fenollosa 8e44c2eba1 Update README
2017-03-18 17:37:05 +01:00

589 B

Guetzli is a Google program to optimize JPEG images. Unfortunately, it only works one file at a time. With this script in Python you can do it recursively a whole folder.

Install

Guetzli must be installed on your system. Follow the official instructions. Guetzli

and Python 3.

Use

python guetzli-recursively.py [folder]

Example

python guetzli-recursively.py img

out

img/tasks.jpg
Save 6%
img/portfolio/idecrea/space.jpg
It is not necessary to optimize
img/portfolio/home.jpg
Save 3%
img/master.jpg