readme, todo updates
This commit is contained in:
parent
742ff9974f
commit
626ba8d0ef
14
README.md
14
README.md
|
@ -7,15 +7,23 @@ difference requirement set.
|
||||||
|
|
||||||
By default it operates in a "dry run" mode where images are not replaced but individual and total savings are reported at the end, unless you supply the '-replace' flag.
|
By default it operates in a "dry run" mode where images are not replaced but individual and total savings are reported at the end, unless you supply the '-replace' flag.
|
||||||
|
|
||||||
# why?
|
# Why?
|
||||||
|
|
||||||
Poorly optimized images in most contexts waste space and bandwidth unnecessarily. JPEG compression was designed to highly optimize photos with
|
Poorly optimized images in most contexts waste space and bandwidth unnecessarily. JPEG compression was designed to highly optimize photos with
|
||||||
little or no visually identifiable differences in default conditions, and for scenarios where absolute quality is less important it can compress
|
little or no visually identifiable differences in default conditions, and for scenarios where absolute quality is less important it can compress
|
||||||
even farther. Generally quality levels below 75 are where you start to notice a difference.
|
even farther. Generally quality levels below 75 are where you start to notice a difference.
|
||||||
|
|
||||||
# usage
|
# Installtion
|
||||||
|
|
||||||
Recursively check all images starting from the current path. Calculate actions and total svings but don't make any changes.
|
With a recent Go compiler, installation is as easy as:
|
||||||
|
|
||||||
|
```
|
||||||
|
go install git.teamworkapps.com/shortcut/imageoptimizer@latest
|
||||||
|
```
|
||||||
|
|
||||||
|
# Usage
|
||||||
|
|
||||||
|
Recursively check all images starting from the current path. Calculate actions and total savings but don't make any changes.
|
||||||
|
|
||||||
```
|
```
|
||||||
imageoptimizer -recursive -diff 25
|
imageoptimizer -recursive -diff 25
|
||||||
|
|
Loading…
Reference in New Issue