fotolab 0.31.10__tar.gz → 0.31.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fotolab-0.31.10 → fotolab-0.31.11}/PKG-INFO +30 -1
- {fotolab-0.31.10 → fotolab-0.31.11}/README.md +29 -0
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/subcommands/border.py +2 -1
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/subcommands/montage.py +1 -1
- {fotolab-0.31.10 → fotolab-0.31.11}/pyproject.toml +1 -1
- {fotolab-0.31.10 → fotolab-0.31.11}/LICENSE.md +0 -0
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/__init__.py +0 -0
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/__main__.py +0 -0
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/cli.py +0 -0
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/subcommands/__init__.py +0 -0
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/subcommands/animate.py +0 -0
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/subcommands/auto.py +0 -0
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/subcommands/contrast.py +0 -0
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/subcommands/env.py +0 -0
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/subcommands/halftone.py +0 -0
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/subcommands/info.py +0 -0
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/subcommands/resize.py +0 -0
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/subcommands/rotate.py +0 -0
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/subcommands/sharpen.py +0 -0
- {fotolab-0.31.10 → fotolab-0.31.11}/fotolab/subcommands/watermark.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: fotolab
|
3
|
-
Version: 0.31.
|
3
|
+
Version: 0.31.11
|
4
4
|
Summary: A console program that manipulate images.
|
5
5
|
Keywords: photography,photo
|
6
6
|
Author-email: Kian-Meng Ang <kianmeng@cpan.org>
|
@@ -206,6 +206,35 @@ options:
|
|
206
206
|
|
207
207
|
<!--help-contrast !-->
|
208
208
|
|
209
|
+
### fotolab halftone
|
210
|
+
|
211
|
+
```console
|
212
|
+
fotolab halftone -h
|
213
|
+
```
|
214
|
+
|
215
|
+
<!--help-halftone !-->
|
216
|
+
|
217
|
+
```console
|
218
|
+
usage: fotolab halftone [-h] [-ba] [-op] [-od OUTPUT_DIR] [-c CELLS] [-g]
|
219
|
+
IMAGE_FILENAMES [IMAGE_FILENAMES ...]
|
220
|
+
|
221
|
+
positional arguments:
|
222
|
+
IMAGE_FILENAMES set the image filename
|
223
|
+
|
224
|
+
options:
|
225
|
+
-h, --help show this help message and exit
|
226
|
+
-ba, --before-after generate a GIF showing before and after changes
|
227
|
+
-op, --open open the image using default program (default:
|
228
|
+
'False')
|
229
|
+
-od, --output-dir OUTPUT_DIR
|
230
|
+
set default output folder (default: 'output')
|
231
|
+
-c, --cells CELLS set number of cells across the image width (default:
|
232
|
+
50)
|
233
|
+
-g, --grayscale convert image to grayscale before applying halftone
|
234
|
+
```
|
235
|
+
|
236
|
+
<!--help-halftone !-->
|
237
|
+
|
209
238
|
### fotolab info
|
210
239
|
|
211
240
|
```console
|
@@ -182,6 +182,35 @@ options:
|
|
182
182
|
|
183
183
|
<!--help-contrast !-->
|
184
184
|
|
185
|
+
### fotolab halftone
|
186
|
+
|
187
|
+
```console
|
188
|
+
fotolab halftone -h
|
189
|
+
```
|
190
|
+
|
191
|
+
<!--help-halftone !-->
|
192
|
+
|
193
|
+
```console
|
194
|
+
usage: fotolab halftone [-h] [-ba] [-op] [-od OUTPUT_DIR] [-c CELLS] [-g]
|
195
|
+
IMAGE_FILENAMES [IMAGE_FILENAMES ...]
|
196
|
+
|
197
|
+
positional arguments:
|
198
|
+
IMAGE_FILENAMES set the image filename
|
199
|
+
|
200
|
+
options:
|
201
|
+
-h, --help show this help message and exit
|
202
|
+
-ba, --before-after generate a GIF showing before and after changes
|
203
|
+
-op, --open open the image using default program (default:
|
204
|
+
'False')
|
205
|
+
-od, --output-dir OUTPUT_DIR
|
206
|
+
set default output folder (default: 'output')
|
207
|
+
-c, --cells CELLS set number of cells across the image width (default:
|
208
|
+
50)
|
209
|
+
-g, --grayscale convert image to grayscale before applying halftone
|
210
|
+
```
|
211
|
+
|
212
|
+
<!--help-halftone !-->
|
213
|
+
|
185
214
|
### fotolab info
|
186
215
|
|
187
216
|
```console
|
@@ -173,5 +173,6 @@ def get_border(
|
|
173
173
|
args.width_right,
|
174
174
|
args.width_bottom,
|
175
175
|
)
|
176
|
-
# If no individual widths are specified, use the general width for all
|
176
|
+
# If no individual widths are specified, use the general width for all
|
177
|
+
# sides
|
177
178
|
return (args.width, args.width, args.width, args.width)
|
@@ -75,7 +75,7 @@ def run(args: argparse.Namespace) -> None:
|
|
75
75
|
images.append(Image.open(image_filename.name))
|
76
76
|
|
77
77
|
if len(images) < 2:
|
78
|
-
raise ValueError("
|
78
|
+
raise ValueError("at least two images is required for montage")
|
79
79
|
|
80
80
|
total_width = sum(img.width for img in images)
|
81
81
|
total_height = max(img.height for img in images)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|