Skip to content

Commit

Permalink
Add fancy new options to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Jul 7, 2014
1 parent b05c7ec commit 21a9d9e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ See `pngquant -h` for full list.

Set custom extension (suffix) for output filename. By default `-or8.png` or `-fs8.png` is used. If you use `--ext=.png --force` options pngquant will overwrite input files in place (use with caution).

###`--skip-if-larger`

Don't write converted files if the conversion isn't worth it.

###`--speed N`

Speed/quality trade-off from 1 (brute-force) to 11 (fastest). The default is 3. Speed 10 has 5% lower quality, but is 8 times faster than the default. Speed 11 disables dithering and lowers compression level.
Expand All @@ -65,6 +69,14 @@ Speed/quality trade-off from 1 (brute-force) to 11 (fastest). The default is 3.

Disables Floyd-Steinberg dithering.

###`--floyd=0.5`

Controls level of dithering (0 = none, 1 = full).

###`--posterize bits`

Reduce precision of the palette by number of bits. Use when the image will be displayed on low-depth screens (e.g. 16-bit displays or compressed textures).

###`--version`

Print version information to stdout.
Expand Down

0 comments on commit 21a9d9e

Please sign in to comment.