From b362f718d42569677e9854d3d98e18cd6be769f6 Mon Sep 17 00:00:00 2001 From: Dominic Valenciana Date: Wed, 22 Mar 2017 11:55:57 -0600 Subject: [PATCH 1/2] Updated Readme.md to make quality parameter better documented. Added example of numbers that can be used for quality parameter and explained the current limit of numbers above the 83% quality threshold. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3e99dd4c..24147922 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,10 @@ high quality image](https://github.com/google/guetzli/releases/download/v0/bees.png). You can pass a `--quality Q` parameter to set quality in units equivalent to -libjpeg quality. You can also pass a `--verbose` flag to see a trace of encoding +libjpeg quality (0 - 100). Quality is currently limited to numbers greater than +83 and require modifying the code to go bellow the set threshold. + +You can also pass a `--verbose` flag to see a trace of encoding attempts made. Please note that JPEG images do not support alpha channel (transparency). If the From 3bf7c86d02305b69ca42f411687cf74e85f99d71 Mon Sep 17 00:00:00 2001 From: Dominic Valenciana Date: Wed, 22 Mar 2017 19:15:53 -0600 Subject: [PATCH 2/2] Updated readme to include pornels recommendations Readme.md text has been updated to give examples of passable values to the `--quality` parameter and also explains why the quality has an artificial limit of 84. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 24147922..58660cf0 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,8 @@ high quality image](https://github.com/google/guetzli/releases/download/v0/bees.png). You can pass a `--quality Q` parameter to set quality in units equivalent to -libjpeg quality (0 - 100). Quality is currently limited to numbers greater than -83 and require modifying the code to go bellow the set threshold. +libjpeg quality (84 - 100). Guetzli works best with high qualities. 84 is the +lowest supported quality. You can also pass a `--verbose` flag to see a trace of encoding attempts made.