guetzli-recursively/README.md

35 lines
656 B
Markdown
Raw Normal View History

2017-03-18 17:34:12 +01: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.
2017-04-20 01:23:49 +02:00
**UPDATE** [GUI for Mac OS](https://github.com/tanrax/guetzli-recursively-gui)
2017-03-18 17:34:12 +01:00
# Install
Guetzli must be installed on your system. Follow the official instructions.
[Guetzli](https://github.com/google/guetzli)
and Python 3.
# Use
```bash
2017-03-21 11:39:07 +01:00
python3 guetzli-recursively.py [folder]
2017-03-18 17:34:12 +01:00
```
2017-03-18 17:38:20 +01:00
## Example
2017-03-18 17:34:12 +01:00
```bash
2017-03-21 11:39:07 +01:00
python3 guetzli-recursively.py img
2017-03-18 17:34:12 +01:00
```
2017-03-18 17:38:20 +01:00
out
2017-03-18 17:37:05 +01:00
```bash
img/tasks.jpg
Save 6%
img/portfolio/idecrea/space.jpg
It is not necessary to optimize
img/portfolio/home.jpg
Save 3%
```