Skip to content

Commit c23c9c0

Browse files
committed
Note that higher levels are not guaranteed to be better
1 parent e836688 commit c23c9c0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,12 @@ More advanced options can be found by running `oxipng --help`, or viewed [here](
6666
Some options have both short (`-a`) and long (`--alpha`) forms. Which form you use is just a
6767
matter of preference. Multiple short options can be combined together, e.g.:
6868
`-savvo6` is equivalent to to `--strip safe --alpha --verbose --verbose --opt 6`.
69-
Note that all options are case-sensitive.
69+
All options are case-sensitive.
70+
71+
Note that oxipng is not a brute-force optimizer. This means that while higher optimization levels
72+
are almost always better (or equal) to lower levels, this is not guaranteed and it is possible in
73+
rare circumstances that a lower level may give a marginally smaller output. Similarly, using Zopfli
74+
compression (`-Z`) is not guaranteed to always be better than without.
7075

7176
## Git integration via [pre-commit]
7277

0 commit comments

Comments
 (0)