Script in Python to convert all the jpeg of a folder recursively with Guetzli
Go to file
2017-04-20 01:23:49 +02:00
guetzli-recursively.py Update optimize 2017-04-18 22:51:14 +02:00
README.md Update README.md 2017-04-20 01:23:49 +02:00

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.

UPDATE GUI for Mac OS

Install

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

and Python 3.

Use

python3 guetzli-recursively.py [folder]

Example

python3 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%