A script to compress all images from a directory using guetzli
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
compressor-script

README.md

compressor-script

A script to compress all images from a directory using guetzli

Requires

Guetzli

To install guetzli easily run the guetzli-install script

Usage:

# ./compressor-script [folder]

If no argument is given, the script uses the current directory for the search

Example

Given any directory, the script will find the images and compile them using guetzli

paulo@laptopper:~$ tree folder/

folder/
├── another_folder
│   ├── bbc
│   │   ├── crazy.txt
│   │   └── waterfall.jpeg
│   └── duck.png
├── pie
│   └── apple.doc
└── potato.jpg

For the above folder, only the files: waterfall.jpg, duck.png and potato.jpg, will be compressed. All other extensions will be ignored.