From 626ba8d0ef3fa60af1af5c9233e07ba6bec23ebb Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 7 Mar 2022 09:03:40 -0500 Subject: [PATCH] readme, todo updates --- README.md | 14 +++++++++++--- TODO.txt | 2 ++ 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 TODO.txt diff --git a/README.md b/README.md index 99b8fdc..2a4c2f8 100644 --- a/README.md +++ b/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. -# why? +# Why? 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 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 diff --git a/TODO.txt b/TODO.txt new file mode 100644 index 0000000..1ff9926 --- /dev/null +++ b/TODO.txt @@ -0,0 +1,2 @@ +. Add support for converting PNG and GIF without alpha channels to JPG +. Add support for webp output - can be used with web servers to serve webp when supported by browsers