Skip to content

Commit

Permalink
Note that higher levels are not guaranteed to be better
Browse files Browse the repository at this point in the history
  • Loading branch information
andrews05 committed Jul 21, 2024
1 parent e836688 commit c23c9c0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ More advanced options can be found by running `oxipng --help`, or viewed [here](
Some options have both short (`-a`) and long (`--alpha`) forms. Which form you use is just a
matter of preference. Multiple short options can be combined together, e.g.:
`-savvo6` is equivalent to to `--strip safe --alpha --verbose --verbose --opt 6`.
Note that all options are case-sensitive.
All options are case-sensitive.

Note that oxipng is not a brute-force optimizer. This means that while higher optimization levels
are almost always better (or equal) to lower levels, this is not guaranteed and it is possible in
rare circumstances that a lower level may give a marginally smaller output. Similarly, using Zopfli
compression (`-Z`) is not guaranteed to always be better than without.

## Git integration via [pre-commit]

Expand Down

0 comments on commit c23c9c0

Please sign in to comment.