update readme and changelog

This commit is contained in:
VirtuBox 2019-07-12 13:46:09 +02:00
parent 2cd9570f8a
commit 743c1b95d9
No known key found for this signature in database
GPG Key ID: 22EB296C97BAD476
2 changed files with 9 additions and 3 deletions

View File

@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]
### Added
- quiet mode
### Changed
## [V1.1] - 2019-04-05

View File

@ -54,18 +54,20 @@ sudo cp $HOME/.img-optimize/optimize.sh /usr/local/bin/img-optimize
## Usage
```bash
Bash script to optimize your images and convert them in WebP
Usage: img-optimize [options] <images path>
If images path is empty, img-optimize will use the current directory
If images path isn't defined, img-optimize will use the current directory
Options:
--jpg <images path> ..... optimize all jpg images
--png <images path> ..... optimize all png images
--webp <images path> ..... convert all images in webp
--nowebp <images path> ..... optimize all png & jpg images
--all <images path> ..... optimize all images (png + jpg + webp)
-i, --interactive ... run img-optimize in interactive mode
-i, --interactive ..... run img-optimize in interactive mode
-q, --quiet ..... run image optimization quietly
Other options :
-h, --help, help ... displays this help information
Example:
Examples:
optimize all jpg images in /var/www/images
img-optimize --jpg /var/www/images
```