mirror of
https://github.com/tanrax/guetzli-recursively.git
synced 2024-11-15 07:35:40 +01:00
23 lines
437 B
Markdown
23 lines
437 B
Markdown
|
|
||
|
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](https://github.com/google/guetzli)
|
||
|
|
||
|
and Python 3.
|
||
|
|
||
|
# Use
|
||
|
|
||
|
```bash
|
||
|
python guetzli-recursively.py [folder]
|
||
|
```
|
||
|
|
||
|
Example
|
||
|
|
||
|
```bash
|
||
|
python guetzli-recursively.py img
|
||
|
```
|
||
|
|