ExOptimizer.Optimizers.Cwebp (ExOptimizer v0.1.1) View Source

WEBPs will be optimized by Cwebp.

These options will be used:

  • -m 6 for the slowest compression method in order to get the best compression.
  • -pass 10 for maximizing the amount of analysis pass.
  • -mt multithreading for some speed improvements.
  • -q 90 Quality factor that brings the least noticeable changes.

(Settings are original taken from here)

Note: Due to an issue with the cwebp binary, options have to be set one by one, for instance the default ones are: ["-m", "6", "-pass", "10", "-mt", "-q", "80"]