Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SalOne22 authored Aug 12, 2023
1 parent 6752bcd commit d7f1272
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ You can download latest release from [Releases](https://github.com/SalOne22/rima
rimage -q 75 *.jpg
```

- Quality: `-q 0` through `-q 100`, higher is better
- Output format: `-f png`, currently supported only jpg, png, oxipng and webp
- Quality: `-q 0` through `-q 100`, higher is better **Default: 75**
- Output format: `-f png`, currently supported only jpg, png, oxipng, avif and webp **Default: jpg**
- Output directory: `-o /somewhere`, saves all processed files in this directory, also saves files directory structure
> Note: On windows cmd, if you path contains spaces, please remove backslash before the closing quote.
> This is because in cmd a backslash before a quote is recognized as an escape character. More info [here](https://stackoverflow.com/a/75849885)
- Suffix for output: `-s _updated`, adds suffix in file name ("input.jpg" -> "input_updated.jpg")
- Info: `-i`, flag used to get info about images (size and data length)
- Threads: `-t 4`, number of threads to use
- Threads: `-t 4`, number of threads to use **Default: number of cpu cores**
- Quantization: `--quantization 50`, quality of quantization from 0 to 100, higher is better
- Dithering: `--dithering 0.5`, quality of dithering from 0 to 1, higher is better
- Resize: `--width 250` or `--height 100`, resizes image to specified width or height
Expand Down

0 comments on commit d7f1272

Please sign in to comment.