@@ -61,7 +61,7 @@ compressor -h
6161## Full Usage
6262
6363```
64- Version: 2.x
64+ Version: 2.3
6565Usage: compressor [-h] [Options]
6666
6767Options:
@@ -75,6 +75,8 @@ Options:
7575 Input Path
7676 -j int
7777 Thread Count (default 4)
78+ -log
79+ Save Log as File
7880 -o string
7981 Output Path
8082 -q int
@@ -89,11 +91,13 @@ Modify the file `config.json` directly
8991
9092# Configuration Description
9193
92- | Name | Value | Description |
93- | :----------: | :---------------------------: | :----------------------------------------------------------: |
94- | thread_count | lower than the number of core | Thread count |
95- | input_format | "png", "jpg", "jpeg" | Input image format (other formats will be ignored) |
96- | input_path | D:\\ in\\ | Input path, must be a folder (will recursively process all subfolders) |
94+ | Name | Value | Description |
95+ | :------------: | :-----------------------------: | :-------------------------------------------------------------------------------------------------: |
96+ | thread_count | lower than the number of core | Thread count |
97+ | input_format | "png", "jpg", "jpeg" | Input image format (other formats will be ignored) |
98+ | input_path | D:\\ in\\ | Input path, can be a file or a folder (will recursively process all subfolders) |
9799| output_path | D:\\ out\\ | Output path, create a new folder under the parent directory of the input folder if not specified |
98- | quality | 1~100 | Determines the jpeg encoding quality. Default is 90 |
100+ | quality | 1~100 | Determines the jpeg encoding quality. Default is 90 |
101+ | log_to_file | bool | save log to file |
102+
99103
0 commit comments