You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO: Showing help with the command'anshitsu -- --help'.
27
26
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
NAME
39
+
main.py - Process Runnner for Command Line Interface
40
+
41
+
42
+
SYNOPSIS
43
+
main.py <flags>
44
+
45
+
DESCRIPTION
46
+
This utility converts the colors of images such as photos.
47
+
48
+
If you specify a directory path, it will convert
49
+
the image files in the specified directory.
50
+
If you specify a file path, it will convert the specified file.
51
+
If you specify an option, the specified conversion will be performed.
52
+
53
+
54
+
Tosaka mode is a mode that expresses the preference of
55
+
Tosaka-senpai, a character in"Kyūkyoku Chōjin R",
56
+
for"photos taken with Tri-X that look like they were
57
+
burned onto No. 4 or No. 5 photographic paper".
58
+
Only use floating-point numbers when using this mode;
59
+
numbers around 2.4 will make it look right.
60
+
61
+
FLAGS
62
+
--path=PATH
63
+
Type: Optional[Optional]
64
+
Default: None
65
+
Directory or File Path. Defaults to None.
66
+
-k, --keep_alpha=KEEP_ALPHA
67
+
Type: bool
68
+
Default: False
69
+
--colorautoadjust=COLORAUTOADJUST
70
+
Type: bool
71
+
Default: False
72
+
Use colorautoadjust algorithm. Defaults to False.
73
+
--colorstretch=COLORSTRETCH
74
+
Type: bool
75
+
Default: False
76
+
Use colorstretch algorithm. Defaults to False.
77
+
-g, --grayscale=GRAYSCALE
78
+
-g, --grayscale=GRAYSCALE
79
+
Type: bool
80
+
Default: False
81
+
Convert to grayscale. Defaults to False.
82
+
-i, --invert=INVERT
83
+
Type: bool
84
+
Default: False
85
+
Invert color. Defaults to False.
86
+
--color=COLOR
87
+
Type: Optional[Optional]
88
+
Default: None
89
+
Fix color balance. Defaults to None.
90
+
-b, --brightness=BRIGHTNESS
91
+
Type: Optional[Optional]
92
+
Default: None
93
+
Fix brightness. Defaults to None.
94
+
--sharpness=SHARPNESS
95
+
Type: Optional[Optional]
96
+
Default: None
97
+
Fix sharpness. Defaults to None.
98
+
--contrast=CONTRAST
99
+
Type: Optional[Optional]
100
+
Default: None
101
+
Fix contrast. Defaults to None.
102
+
-t, --tosaka=TOSAKA
103
+
Type: Optional[Optional]
104
+
Default: None
105
+
Convert to grayscale with fix contrast. Defaults to None.
106
+
Convert to grayscale with fix contrast. Defaults to None.
107
+
--outputrgb=OUTPUTRGB
108
+
Type: bool
109
+
Default: False
110
+
Outputs a monochrome image in RGB. Defaults to False.
111
+
--sepia=SEPIA
112
+
Type: bool
113
+
Default: False
114
+
Convert to RGB colored by sepia. Defaults to False.
115
+
--cyanotype=CYANOTYPE
116
+
Type: bool
117
+
Default: False
118
+
Convert to RGB like cyanotype. Defaults to False.
119
+
-n, --noise=NOISE
120
+
Type: Optional[Optional]
121
+
Default: None
122
+
Add Gaussian noise. Defaults to None.
123
+
--overwrite=OVERWRITE
124
+
Type: bool
125
+
Default: False
126
+
Default: False
127
+
--overwrite=OVERWRITE
128
+
Type: Optional[Optional]
129
+
Convert to RGB like cyanotype. Defaults to False.
130
+
Convert to RGB colored by sepia. Defaults to False.
131
+
Default: None
132
+
-t, --tosaka=TOSAKA
133
+
Default: None
134
+
Default: None
135
+
--path=PATH
136
+
burned onto No. 4 or No. 5 photographic paper".
28
137
NAME
29
-
anshitsu - Process Runnner for Command Line Interface
138
+
main.py - Process Runnner for Command Line Interface
139
+
main.py - Process Runnner for Command Line Interface
30
140
31
141
SYNOPSIS
32
-
anshitsu PATH <flags>
142
+
SYNOPSIS
143
+
main.py <flags>
144
+
145
+
146
+
DESCRIPTION
147
+
DESCRIPTION
148
+
This utility converts the colors of images such as photos.
149
+
150
+
If you specify a directory path, it will convert
151
+
If you specify a directory path, it will convert
152
+
the image files in the specified directory.
153
+
the image files in the specified directory.
154
+
If you specify a file path, it will convert the specified file.
155
+
If you specify an option, the specified conversion will be performed.
156
+
157
+
NAME
158
+
main.py - Process Runnner for Command Line Interface
159
+
160
+
SYNOPSIS
161
+
main.py <flags>
33
162
34
163
DESCRIPTION
35
164
This utility converts the colors of images such as photos.
@@ -52,6 +181,13 @@ POSITIONAL ARGUMENTS
52
181
Directory or File Path
53
182
54
183
FLAGS
184
+
--path=PATH
185
+
Type: Optional[Optional]
186
+
Default: None
187
+
Directory or File Path. Defaults to None.
188
+
-k, --keep_alpha=KEEP_ALPHA
189
+
Type: bool
190
+
Default: False
55
191
--colorautoadjust=COLORAUTOADJUST
56
192
Type: bool
57
193
Default: False
@@ -60,29 +196,65 @@ FLAGS
60
196
Type: bool
61
197
Default: False
62
198
Use colorstretch algorithm. Defaults to False.
63
-
--grayscale=GRAYSCALE
199
+
-g, --grayscale=GRAYSCALE
64
200
Type: bool
65
201
Default: False
66
202
Convert to grayscale. Defaults to False.
67
-
--invert=INVERT
203
+
-i, --invert=INVERT
68
204
Type: bool
69
205
Default: False
70
206
Invert color. Defaults to False.
71
-
--tosaka=TOSAKA
207
+
--color=COLOR
208
+
Type: Optional[Optional]
209
+
Default: None
210
+
Fix color balance. Defaults to None.
211
+
-b, --brightness=BRIGHTNESS
212
+
Type: Optional[Optional]
213
+
Default: None
214
+
Fix brightness. Defaults to None.
215
+
--sharpness=SHARPNESS
216
+
Type: Optional[Optional]
217
+
Default: None
218
+
Fix sharpness. Defaults to None.
219
+
--contrast=CONTRAST
72
220
Type: Optional[Optional]
73
221
Default: None
74
-
Use Tosaka mode. Defaults to None.
222
+
Fix contrast. Defaults to None.
223
+
-t, --tosaka=TOSAKA
224
+
Type: Optional[Optional]
225
+
Default: None
226
+
Convert to grayscale with fix contrast. Defaults to None.
75
227
--outputrgb=OUTPUTRGB
76
228
Type: bool
77
229
Default: False
78
230
Outputs a monochrome image in RGB. Defaults to False.
79
-
--noise=NOISE
231
+
--sepia=SEPIA
232
+
Type: bool
233
+
Default: False
234
+
Convert to RGB colored by sepia. Defaults to False.
235
+
--cyanotype=CYANOTYPE
236
+
Type: bool
237
+
Default: False
238
+
Convert to RGB like cyanotype. Defaults to False.
239
+
-n, --noise=NOISE
80
240
Type: Optional[Optional]
81
241
Default: None
82
242
Add Gaussian noise. Defaults to None.
83
-
84
-
NOTES
85
-
You can also use flags syntax for POSITIONAL ARGUMENTS
243
+
--overwrite=OVERWRITE
244
+
Type: bool
245
+
Default: False
246
+
Overwrite original files. Defaults to False.
247
+
-v, --version=VERSION
248
+
Type: bool
249
+
Default: False
250
+
Show version. Defaults to False.
251
+
-l, --line_drawing=LINE_DRAWING
252
+
Type: bool
253
+
Default: False
254
+
Convert to like line drawing. Defaults to False.
255
+
--posterize=POSTERIZE
256
+
Type: Optional[Optional]
257
+
Default: None
86
258
```
87
259
88
260
If a directory is specified in the path, an `out` directory will be created in the specified directory, and the converted JPEG and PNG images will be stored in PNG format.
0 commit comments