From c0d1ff816b89c587e9101b949a10778cbf45b5de Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 6 Nov 2022 19:27:40 +1300 Subject: [PATCH] Show filters in help --- src/main.rs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ddbcc118..969b856d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -269,7 +269,20 @@ fn main() { -o max => (stable alias for the max compression) Manually specifying a compression option (zc, f, etc.) will override the optimization preset, - regardless of the order you write the arguments.", + regardless of the order you write the arguments. + +PNG delta filters: + 0 => None + 1 => Sub + 2 => Up + 3 => Average + 4 => Paeth +Heuristic filter selection strategies: + 5 => MinSum Minimum sum of absolute differences + 6 => Entropy Highest Shannon entropy + 7 => Bigrams Lowest count of distinct bigrams + 8 => BigEnt Highest Shannon entropy of bigrams + 9 => Brute Smallest compressed size (slow)", ) .get_matches_from(wild::args());