Skip to content

Commit 0ea2001

Browse files
authored
Update README.md
1 parent c9f6122 commit 0ea2001

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ pip install rayim
2525
## ⌨️ Usage
2626

2727
```
28-
usage: rayim [-h] [-o OUTPUT_DIR] [-q QUALITY] [--overwrite] [-N] [-j] [-s]
29-
path [path ...]
28+
usage: rayim [-h] [-o OUTPUT_DIR] [-q QUALITY] [--overwrite] [-n] [-j]
29+
[--replicate-dir-tree] [-s SIZE SIZE] [-d DIV_BY] [-S] [-O]
30+
path [path ...]
3031
3132
positional arguments:
3233
path Path to a single file/directory or multiple
@@ -39,10 +40,16 @@ optional arguments:
3940
-q QUALITY, --quality QUALITY
4041
Output image quality (JPEG only; default: 70)
4142
--overwrite Overwrite the original image
42-
-N, --no-subsampling Turn off subsampling and retain the original image
43+
-n, --no-subsampling Turn off subsampling and retain the original image
4344
setting (JPEG only)
4445
-j, --to-jpeg Convert the image(s) to .JPEG
45-
-s, --silent Silent mode
46+
--replicate-dir-tree Replicate the source directory tree in the output
47+
-s SIZE SIZE, --size SIZE SIZE
48+
Resize the image to WIDTH HEIGHT
49+
-d DIV_BY, --div-by DIV_BY
50+
Divide the image size (WxH) by a factor of n
51+
-S, --silent Silent mode
52+
-O, --optimize Apply default optimization on the image(s)
4653
```
4754

4855
## 📕 Examples

0 commit comments

Comments
 (0)