fotolab 0.34.0__py3-none-any.whl → 0.34.1__py3-none-any.whl
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/subcommands/animate.py +3 -3
- fotolab/subcommands/auto.py +3 -3
- fotolab/subcommands/border.py +3 -3
- fotolab/subcommands/contrast.py +5 -5
- fotolab/subcommands/halftone.py +19 -16
- fotolab/subcommands/montage.py +5 -5
- fotolab/subcommands/resize.py +3 -3
- fotolab/subcommands/rotate.py +4 -4
- fotolab/subcommands/sharpen.py +6 -6
- fotolab/subcommands/watermark.py +8 -8
- {fotolab-0.34.0.dist-info → fotolab-0.34.1.dist-info}/METADATA +29 -22
- fotolab-0.34.1.dist-info/RECORD +22 -0
- fotolab-0.34.0.dist-info/RECORD +0 -22
- {fotolab-0.34.0.dist-info → fotolab-0.34.1.dist-info}/WHEEL +0 -0
- {fotolab-0.34.0.dist-info → fotolab-0.34.1.dist-info}/entry_points.txt +0 -0
- {fotolab-0.34.0.dist-info → fotolab-0.34.1.dist-info}/licenses/LICENSE.md +0 -0
- {fotolab-0.34.0.dist-info → fotolab-0.34.1.dist-info}/top_level.txt +0 -0
fotolab/subcommands/animate.py
CHANGED
|
@@ -49,12 +49,12 @@ def build_subparser(subparsers) -> None:
|
|
|
49
49
|
animate_parser.set_defaults(func=run)
|
|
50
50
|
|
|
51
51
|
animate_parser.add_argument(
|
|
52
|
-
dest="
|
|
52
|
+
dest="image_paths",
|
|
53
53
|
help="set the image filenames",
|
|
54
54
|
nargs="+",
|
|
55
55
|
type=str,
|
|
56
56
|
default=None,
|
|
57
|
-
metavar="
|
|
57
|
+
metavar="IMAGE_PATHS",
|
|
58
58
|
)
|
|
59
59
|
|
|
60
60
|
animate_parser.add_argument(
|
|
@@ -159,7 +159,7 @@ def run(args: argparse.Namespace) -> None:
|
|
|
159
159
|
"""
|
|
160
160
|
log.debug(args)
|
|
161
161
|
|
|
162
|
-
image_filepaths = [Path(f) for f in args.
|
|
162
|
+
image_filepaths = [Path(f) for f in args.image_paths]
|
|
163
163
|
first_image_filepath = image_filepaths[0]
|
|
164
164
|
other_frames = []
|
|
165
165
|
|
fotolab/subcommands/auto.py
CHANGED
|
@@ -36,12 +36,12 @@ def build_subparser(subparsers) -> None:
|
|
|
36
36
|
auto_parser.set_defaults(func=run)
|
|
37
37
|
|
|
38
38
|
auto_parser.add_argument(
|
|
39
|
-
dest="
|
|
39
|
+
dest="image_paths",
|
|
40
40
|
help="set the image filename",
|
|
41
41
|
nargs="+",
|
|
42
42
|
type=str,
|
|
43
43
|
default=None,
|
|
44
|
-
metavar="
|
|
44
|
+
metavar="IMAGE_PATHS",
|
|
45
45
|
)
|
|
46
46
|
|
|
47
47
|
auto_parser.add_argument(
|
|
@@ -114,7 +114,7 @@ def run(args: argparse.Namespace) -> None:
|
|
|
114
114
|
fotolab.subcommands.sharpen.run(combined_args)
|
|
115
115
|
fotolab.subcommands.watermark.run(combined_args)
|
|
116
116
|
|
|
117
|
-
if len(args.
|
|
117
|
+
if len(args.image_paths) > 1:
|
|
118
118
|
output_filename = (
|
|
119
119
|
args.title.lower().replace(",", "").replace(" ", "_") + ".gif"
|
|
120
120
|
)
|
fotolab/subcommands/border.py
CHANGED
|
@@ -34,12 +34,12 @@ def build_subparser(subparsers: argparse._SubParsersAction) -> None:
|
|
|
34
34
|
border_parser.set_defaults(func=run)
|
|
35
35
|
|
|
36
36
|
border_parser.add_argument(
|
|
37
|
-
dest="
|
|
37
|
+
dest="image_paths",
|
|
38
38
|
help="set the image filenames",
|
|
39
39
|
nargs="+",
|
|
40
40
|
type=str,
|
|
41
41
|
default=None,
|
|
42
|
-
metavar="
|
|
42
|
+
metavar="IMAGE_PATHS",
|
|
43
43
|
)
|
|
44
44
|
|
|
45
45
|
border_parser.add_argument(
|
|
@@ -135,7 +135,7 @@ def run(args: argparse.Namespace) -> None:
|
|
|
135
135
|
"""
|
|
136
136
|
log.debug(args)
|
|
137
137
|
|
|
138
|
-
for image_filepath in [Path(f) for f in args.
|
|
138
|
+
for image_filepath in [Path(f) for f in args.image_paths]:
|
|
139
139
|
original_image = Image.open(image_filepath)
|
|
140
140
|
border = get_border(args)
|
|
141
141
|
bordered_image = ImageOps.expand(
|
fotolab/subcommands/contrast.py
CHANGED
|
@@ -51,12 +51,12 @@ def build_subparser(subparsers: argparse._SubParsersAction) -> None:
|
|
|
51
51
|
contrast_parser.set_defaults(func=run)
|
|
52
52
|
|
|
53
53
|
contrast_parser.add_argument(
|
|
54
|
-
dest="
|
|
54
|
+
dest="image_paths",
|
|
55
55
|
help="set the image filename",
|
|
56
56
|
nargs="+",
|
|
57
57
|
type=str,
|
|
58
58
|
default=None,
|
|
59
|
-
metavar="
|
|
59
|
+
metavar="IMAGE_PATHS",
|
|
60
60
|
)
|
|
61
61
|
|
|
62
62
|
contrast_parser.add_argument(
|
|
@@ -102,8 +102,8 @@ def run(args: argparse.Namespace) -> None:
|
|
|
102
102
|
"""
|
|
103
103
|
log.debug(args)
|
|
104
104
|
|
|
105
|
-
for
|
|
106
|
-
original_image = Image.open(
|
|
105
|
+
for image_path_str in args.image_paths:
|
|
106
|
+
original_image = Image.open(image_path_str)
|
|
107
107
|
|
|
108
108
|
if original_image.mode == "RGBA":
|
|
109
109
|
# Split the image into RGB and Alpha channels
|
|
@@ -124,4 +124,4 @@ def run(args: argparse.Namespace) -> None:
|
|
|
124
124
|
original_image, cutoff=args.cutoff
|
|
125
125
|
)
|
|
126
126
|
|
|
127
|
-
save_image(args, contrast_image, Path(
|
|
127
|
+
save_image(args, contrast_image, Path(image_path_str), "contrast")
|
fotolab/subcommands/halftone.py
CHANGED
|
@@ -45,12 +45,12 @@ def build_subparser(subparsers) -> None:
|
|
|
45
45
|
halftone_parser.set_defaults(func=run)
|
|
46
46
|
|
|
47
47
|
halftone_parser.add_argument(
|
|
48
|
-
dest="
|
|
48
|
+
dest="image_paths",
|
|
49
49
|
help="set the image filename",
|
|
50
50
|
nargs="+",
|
|
51
51
|
type=str,
|
|
52
52
|
default=None,
|
|
53
|
-
metavar="
|
|
53
|
+
metavar="IMAGE_PATHS",
|
|
54
54
|
)
|
|
55
55
|
|
|
56
56
|
halftone_parser.add_argument(
|
|
@@ -111,8 +111,8 @@ def run(args: argparse.Namespace) -> None:
|
|
|
111
111
|
"""
|
|
112
112
|
log.debug(args)
|
|
113
113
|
|
|
114
|
-
for
|
|
115
|
-
image_filename = Path(
|
|
114
|
+
for image_path_str in args.image_paths:
|
|
115
|
+
image_filename = Path(image_path_str)
|
|
116
116
|
original_image = Image.open(image_filename)
|
|
117
117
|
halftone_image = create_halftone_image(
|
|
118
118
|
original_image, args.cells, args.grayscale
|
|
@@ -133,6 +133,7 @@ def run(args: argparse.Namespace) -> None:
|
|
|
133
133
|
def _draw_halftone_dot(
|
|
134
134
|
draw: ImageDraw.ImageDraw,
|
|
135
135
|
source_image: Image.Image,
|
|
136
|
+
brightness_map: Image.Image,
|
|
136
137
|
cell: HalftoneCell,
|
|
137
138
|
grayscale: bool,
|
|
138
139
|
fill_color_dot: int,
|
|
@@ -150,21 +151,19 @@ def _draw_halftone_dot(
|
|
|
150
151
|
x = max(0, x)
|
|
151
152
|
y = max(0, y)
|
|
152
153
|
|
|
153
|
-
#
|
|
154
|
-
|
|
154
|
+
# Get brightness from the pre-calculated map (L mode)
|
|
155
|
+
brightness = brightness_map.getpixel((x, y))
|
|
156
|
+
|
|
157
|
+
# Get pixel value (color) from the source image
|
|
155
158
|
pixel_value = source_image.getpixel((x, y))
|
|
156
159
|
|
|
157
160
|
if grayscale:
|
|
158
|
-
|
|
159
|
-
dot_fill
|
|
161
|
+
# In grayscale mode, source_image is L mode, pixel_value is brightness
|
|
162
|
+
# dot_fill is the fixed color (255 for white dot on black background)
|
|
163
|
+
dot_fill = fill_color_dot
|
|
160
164
|
else:
|
|
161
|
-
#
|
|
162
|
-
|
|
163
|
-
0.299 * pixel_value[0]
|
|
164
|
-
+ 0.587 * pixel_value[1]
|
|
165
|
-
+ 0.114 * pixel_value[2]
|
|
166
|
-
)
|
|
167
|
-
dot_fill = pixel_value # Use original color for color dots
|
|
165
|
+
# In color mode, dot_fill is the original color
|
|
166
|
+
dot_fill = pixel_value
|
|
168
167
|
|
|
169
168
|
# calculate dot radius relative to cell size based on brightness max radius
|
|
170
169
|
# is half the cell size
|
|
@@ -203,8 +202,11 @@ def create_halftone_image(
|
|
|
203
202
|
fill_color_black: int | tuple[int, int, int]
|
|
204
203
|
fill_color_dot_for_grayscale: int
|
|
205
204
|
|
|
205
|
+
# Always create a grayscale version for brightness calculation (dot size)
|
|
206
|
+
brightness_map = original_image.convert("L")
|
|
207
|
+
|
|
206
208
|
if grayscale:
|
|
207
|
-
source_image =
|
|
209
|
+
source_image = brightness_map
|
|
208
210
|
output_mode = "L"
|
|
209
211
|
fill_color_black = 0
|
|
210
212
|
fill_color_dot_for_grayscale = 255
|
|
@@ -229,6 +231,7 @@ def create_halftone_image(
|
|
|
229
231
|
_draw_halftone_dot(
|
|
230
232
|
draw,
|
|
231
233
|
source_image,
|
|
234
|
+
brightness_map,
|
|
232
235
|
cell,
|
|
233
236
|
grayscale,
|
|
234
237
|
fill_color_dot_for_grayscale,
|
fotolab/subcommands/montage.py
CHANGED
|
@@ -35,12 +35,12 @@ def build_subparser(subparsers) -> None:
|
|
|
35
35
|
montage_parser.set_defaults(func=run)
|
|
36
36
|
|
|
37
37
|
montage_parser.add_argument(
|
|
38
|
-
dest="
|
|
38
|
+
dest="image_paths",
|
|
39
39
|
help="set the image filenames",
|
|
40
40
|
nargs="+",
|
|
41
41
|
type=str,
|
|
42
42
|
default=None,
|
|
43
|
-
metavar="
|
|
43
|
+
metavar="IMAGE_PATHS",
|
|
44
44
|
)
|
|
45
45
|
|
|
46
46
|
montage_parser.add_argument(
|
|
@@ -72,8 +72,8 @@ def run(args: argparse.Namespace) -> None:
|
|
|
72
72
|
"""
|
|
73
73
|
log.debug(args)
|
|
74
74
|
images = []
|
|
75
|
-
for
|
|
76
|
-
image_filename = Path(
|
|
75
|
+
for image_path_str in args.image_paths:
|
|
76
|
+
image_filename = Path(image_path_str)
|
|
77
77
|
images.append(Image.open(image_filename))
|
|
78
78
|
|
|
79
79
|
if len(images) < 2:
|
|
@@ -89,5 +89,5 @@ def run(args: argparse.Namespace) -> None:
|
|
|
89
89
|
montaged_image.paste(image, (x_offset, 0))
|
|
90
90
|
x_offset += image.width
|
|
91
91
|
|
|
92
|
-
output_image_filename = Path(args.
|
|
92
|
+
output_image_filename = Path(args.image_paths[0])
|
|
93
93
|
save_image(args, montaged_image, output_image_filename, "montage")
|
fotolab/subcommands/resize.py
CHANGED
|
@@ -38,12 +38,12 @@ def build_subparser(subparsers) -> None:
|
|
|
38
38
|
resize_parser.set_defaults(func=run)
|
|
39
39
|
|
|
40
40
|
resize_parser.add_argument(
|
|
41
|
-
dest="
|
|
41
|
+
dest="image_paths",
|
|
42
42
|
help="set the image filename",
|
|
43
43
|
nargs="+",
|
|
44
44
|
type=str,
|
|
45
45
|
default=None,
|
|
46
|
-
metavar="
|
|
46
|
+
metavar="IMAGE_PATHS",
|
|
47
47
|
)
|
|
48
48
|
|
|
49
49
|
resize_parser.add_argument(
|
|
@@ -137,7 +137,7 @@ def run(args: argparse.Namespace) -> None:
|
|
|
137
137
|
"""
|
|
138
138
|
log.debug(args)
|
|
139
139
|
|
|
140
|
-
for image_filepath in [Path(f) for f in args.
|
|
140
|
+
for image_filepath in [Path(f) for f in args.image_paths]:
|
|
141
141
|
original_image = Image.open(image_filepath)
|
|
142
142
|
if args.canvas:
|
|
143
143
|
resized_image = _resize_image_onto_canvas(original_image, args)
|
fotolab/subcommands/rotate.py
CHANGED
|
@@ -33,12 +33,12 @@ def build_subparser(subparsers) -> None:
|
|
|
33
33
|
rotate_parser.set_defaults(func=run)
|
|
34
34
|
|
|
35
35
|
rotate_parser.add_argument(
|
|
36
|
-
dest="
|
|
36
|
+
dest="image_paths",
|
|
37
37
|
help="set the image filenames",
|
|
38
38
|
nargs="+",
|
|
39
39
|
type=str,
|
|
40
40
|
default=None,
|
|
41
|
-
metavar="
|
|
41
|
+
metavar="IMAGE_PATHS",
|
|
42
42
|
)
|
|
43
43
|
|
|
44
44
|
rotate_parser.add_argument(
|
|
@@ -88,8 +88,8 @@ def run(args: argparse.Namespace) -> None:
|
|
|
88
88
|
rotation = -args.rotation if args.clockwise else args.rotation
|
|
89
89
|
log.debug(f"Rotation angle: {rotation} degrees")
|
|
90
90
|
|
|
91
|
-
for
|
|
92
|
-
image_filename = Path(
|
|
91
|
+
for image_path_str in args.image_paths:
|
|
92
|
+
image_filename = Path(image_path_str)
|
|
93
93
|
log.debug(f"Processing image: {image_filename}")
|
|
94
94
|
original_image = Image.open(image_filename)
|
|
95
95
|
log.debug(f"Original image size: {original_image.size}")
|
fotolab/subcommands/sharpen.py
CHANGED
|
@@ -33,12 +33,12 @@ def build_subparser(subparsers) -> None:
|
|
|
33
33
|
sharpen_parser.set_defaults(func=run)
|
|
34
34
|
|
|
35
35
|
sharpen_parser.add_argument(
|
|
36
|
-
dest="
|
|
36
|
+
dest="image_paths",
|
|
37
37
|
help="set the image filenames",
|
|
38
38
|
nargs="+",
|
|
39
39
|
type=str,
|
|
40
40
|
default=None,
|
|
41
|
-
metavar="
|
|
41
|
+
metavar="IMAGE_PATHS",
|
|
42
42
|
)
|
|
43
43
|
|
|
44
44
|
sharpen_parser.add_argument(
|
|
@@ -115,8 +115,8 @@ def run(args: argparse.Namespace) -> None:
|
|
|
115
115
|
"""
|
|
116
116
|
log.debug(args)
|
|
117
117
|
|
|
118
|
-
for
|
|
119
|
-
original_image = Image.open(
|
|
118
|
+
for image_path_str in args.image_paths:
|
|
119
|
+
original_image = Image.open(image_path_str)
|
|
120
120
|
sharpen_image = original_image.filter(
|
|
121
121
|
ImageFilter.UnsharpMask(
|
|
122
122
|
args.radius, percent=args.percent, threshold=args.threshold
|
|
@@ -125,10 +125,10 @@ def run(args: argparse.Namespace) -> None:
|
|
|
125
125
|
if args.before_after:
|
|
126
126
|
save_gif_image(
|
|
127
127
|
args,
|
|
128
|
-
Path(
|
|
128
|
+
Path(image_path_str),
|
|
129
129
|
original_image,
|
|
130
130
|
sharpen_image,
|
|
131
131
|
"sharpen",
|
|
132
132
|
)
|
|
133
133
|
else:
|
|
134
|
-
save_image(args, sharpen_image, Path(
|
|
134
|
+
save_image(args, sharpen_image, Path(image_path_str), "sharpen")
|
fotolab/subcommands/watermark.py
CHANGED
|
@@ -43,12 +43,12 @@ def build_subparser(subparsers: argparse._SubParsersAction) -> None:
|
|
|
43
43
|
watermark_parser.set_defaults(func=run)
|
|
44
44
|
|
|
45
45
|
watermark_parser.add_argument(
|
|
46
|
-
dest="
|
|
46
|
+
dest="image_paths",
|
|
47
47
|
help="set the image filenames",
|
|
48
48
|
nargs="+",
|
|
49
49
|
type=str,
|
|
50
50
|
default=None,
|
|
51
|
-
metavar="
|
|
51
|
+
metavar="IMAGE_PATHS",
|
|
52
52
|
)
|
|
53
53
|
|
|
54
54
|
watermark_parser.add_argument(
|
|
@@ -190,24 +190,24 @@ def run(args: argparse.Namespace) -> None:
|
|
|
190
190
|
"""
|
|
191
191
|
log.debug(args)
|
|
192
192
|
|
|
193
|
-
for
|
|
193
|
+
for image_path_str in args.image_paths:
|
|
194
194
|
try:
|
|
195
|
-
image: Image.Image = Image.open(
|
|
195
|
+
image: Image.Image = Image.open(image_path_str)
|
|
196
196
|
except FileNotFoundError:
|
|
197
|
-
log.error("Image file not found: %s",
|
|
197
|
+
log.error("Image file not found: %s", image_path_str)
|
|
198
198
|
continue
|
|
199
199
|
except Exception as e:
|
|
200
|
-
log.error("Could not open image %s: %s",
|
|
200
|
+
log.error("Could not open image %s: %s", image_path_str, e)
|
|
201
201
|
continue
|
|
202
202
|
|
|
203
203
|
if image.format == "GIF":
|
|
204
|
-
watermark_gif_image(image,
|
|
204
|
+
watermark_gif_image(image, image_path_str, args)
|
|
205
205
|
else:
|
|
206
206
|
watermarked_image: Image.Image = watermark_non_gif_image(
|
|
207
207
|
image, args
|
|
208
208
|
)
|
|
209
209
|
save_image(
|
|
210
|
-
args, watermarked_image, Path(
|
|
210
|
+
args, watermarked_image, Path(image_path_str), "watermark"
|
|
211
211
|
)
|
|
212
212
|
|
|
213
213
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fotolab
|
|
3
|
-
Version: 0.34.
|
|
3
|
+
Version: 0.34.1
|
|
4
4
|
Summary: A console program to manipulate photos.
|
|
5
5
|
Author-email: Kian-Meng Ang <kianmeng@cpan.org>
|
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
|
@@ -112,10 +112,11 @@ fotolab animate -h
|
|
|
112
112
|
usage: fotolab animate [-h] [-f FORMAT] [-d DURATION] [-l LOOP] [-op]
|
|
113
113
|
[--webp-quality QUALITY] [--webp-lossless]
|
|
114
114
|
[--webp-method METHOD] [-od OUTPUT_DIR]
|
|
115
|
-
|
|
115
|
+
[-of OUTPUT_FILENAME]
|
|
116
|
+
IMAGE_PATHS [IMAGE_PATHS ...]
|
|
116
117
|
|
|
117
118
|
positional arguments:
|
|
118
|
-
|
|
119
|
+
IMAGE_PATHS set the image filenames
|
|
119
120
|
|
|
120
121
|
options:
|
|
121
122
|
-h, --help show this help message and exit
|
|
@@ -133,6 +134,8 @@ options:
|
|
|
133
134
|
default: '4')
|
|
134
135
|
-od, --output-dir OUTPUT_DIR
|
|
135
136
|
set default output folder (default: 'output')
|
|
137
|
+
-of, --output-filename OUTPUT_FILENAME
|
|
138
|
+
set output filename (default: 'None')
|
|
136
139
|
```
|
|
137
140
|
|
|
138
141
|
<!--help-animate !-->
|
|
@@ -146,13 +149,17 @@ fotolab auto -h
|
|
|
146
149
|
<!--help-auto !-->
|
|
147
150
|
|
|
148
151
|
```console
|
|
149
|
-
usage: fotolab auto [-h]
|
|
152
|
+
usage: fotolab auto [-h] [-t TITLE] [-w WATERMARK_TEXT]
|
|
153
|
+
IMAGE_PATHS [IMAGE_PATHS ...]
|
|
150
154
|
|
|
151
155
|
positional arguments:
|
|
152
|
-
|
|
156
|
+
IMAGE_PATHS set the image filename
|
|
153
157
|
|
|
154
158
|
options:
|
|
155
|
-
-h, --help
|
|
159
|
+
-h, --help show this help message and exit
|
|
160
|
+
-t, --title TITLE set the tile (default: 'None')
|
|
161
|
+
-w, --watermark WATERMARK_TEXT
|
|
162
|
+
set the watermark (default: 'kianmeng.org')
|
|
156
163
|
```
|
|
157
164
|
|
|
158
165
|
<!--help-auto !-->
|
|
@@ -168,10 +175,10 @@ fotolab border -h
|
|
|
168
175
|
```console
|
|
169
176
|
usage: fotolab border [-h] [-c COLOR] [-w WIDTH] [-wt WIDTH] [-wr WIDTH]
|
|
170
177
|
[-wb WIDTH] [-wl WIDTH] [-op] [-od OUTPUT_DIR]
|
|
171
|
-
|
|
178
|
+
IMAGE_PATHS [IMAGE_PATHS ...]
|
|
172
179
|
|
|
173
180
|
positional arguments:
|
|
174
|
-
|
|
181
|
+
IMAGE_PATHS set the image filenames
|
|
175
182
|
|
|
176
183
|
options:
|
|
177
184
|
-h, --help show this help message and exit
|
|
@@ -204,10 +211,10 @@ fotolab contrast -h
|
|
|
204
211
|
|
|
205
212
|
```console
|
|
206
213
|
usage: fotolab contrast [-h] [-c CUTOFF] [-op] [-od OUTPUT_DIR]
|
|
207
|
-
|
|
214
|
+
IMAGE_PATHS [IMAGE_PATHS ...]
|
|
208
215
|
|
|
209
216
|
positional arguments:
|
|
210
|
-
|
|
217
|
+
IMAGE_PATHS set the image filename
|
|
211
218
|
|
|
212
219
|
options:
|
|
213
220
|
-h, --help show this help message and exit
|
|
@@ -231,10 +238,10 @@ fotolab halftone -h
|
|
|
231
238
|
|
|
232
239
|
```console
|
|
233
240
|
usage: fotolab halftone [-h] [-ba] [-op] [-od OUTPUT_DIR] [-c CELLS] [-g]
|
|
234
|
-
|
|
241
|
+
IMAGE_PATHS [IMAGE_PATHS ...]
|
|
235
242
|
|
|
236
243
|
positional arguments:
|
|
237
|
-
|
|
244
|
+
IMAGE_PATHS set the image filename
|
|
238
245
|
|
|
239
246
|
options:
|
|
240
247
|
-h, --help show this help message and exit
|
|
@@ -283,10 +290,10 @@ fotolab rotate -h
|
|
|
283
290
|
|
|
284
291
|
```console
|
|
285
292
|
usage: fotolab rotate [-h] [-r ROTATION] [-cw] [-op] [-od OUTPUT_DIR]
|
|
286
|
-
|
|
293
|
+
IMAGE_PATHS [IMAGE_PATHS ...]
|
|
287
294
|
|
|
288
295
|
positional arguments:
|
|
289
|
-
|
|
296
|
+
IMAGE_PATHS set the image filenames
|
|
290
297
|
|
|
291
298
|
options:
|
|
292
299
|
-h, --help show this help message and exit
|
|
@@ -311,10 +318,10 @@ fotolab montage -h
|
|
|
311
318
|
|
|
312
319
|
```console
|
|
313
320
|
usage: fotolab montage [-h] [-op] [-od OUTPUT_DIR]
|
|
314
|
-
|
|
321
|
+
IMAGE_PATHS [IMAGE_PATHS ...]
|
|
315
322
|
|
|
316
323
|
positional arguments:
|
|
317
|
-
|
|
324
|
+
IMAGE_PATHS set the image filenames
|
|
318
325
|
|
|
319
326
|
options:
|
|
320
327
|
-h, --help show this help message and exit
|
|
@@ -337,10 +344,10 @@ fotolab resize -h
|
|
|
337
344
|
```console
|
|
338
345
|
usage: fotolab resize [-h] [-c] [-l CANVAS_COLOR] [-W WIDTH | -H HEIGHT] [-op]
|
|
339
346
|
[-od OUTPUT_DIR]
|
|
340
|
-
|
|
347
|
+
IMAGE_PATHS [IMAGE_PATHS ...]
|
|
341
348
|
|
|
342
349
|
positional arguments:
|
|
343
|
-
|
|
350
|
+
IMAGE_PATHS set the image filename
|
|
344
351
|
|
|
345
352
|
options:
|
|
346
353
|
-h, --help show this help message and exit
|
|
@@ -369,10 +376,10 @@ fotolab sharpen -h
|
|
|
369
376
|
```console
|
|
370
377
|
usage: fotolab sharpen [-h] [-r RADIUS] [-p PERCENT] [-t THRESHOLD] [-ba]
|
|
371
378
|
[-op] [-od OUTPUT_DIR]
|
|
372
|
-
|
|
379
|
+
IMAGE_PATHS [IMAGE_PATHS ...]
|
|
373
380
|
|
|
374
381
|
positional arguments:
|
|
375
|
-
|
|
382
|
+
IMAGE_PATHS set the image filenames
|
|
376
383
|
|
|
377
384
|
options:
|
|
378
385
|
-h, --help show this help message and exit
|
|
@@ -408,10 +415,10 @@ usage: fotolab watermark [-h] [-t WATERMARK_TEXT]
|
|
|
408
415
|
[-a ALPHA_VALUE] [--camera]
|
|
409
416
|
[-l | --lowercase | --no-lowercase] [-op]
|
|
410
417
|
[-od OUTPUT_DIR]
|
|
411
|
-
|
|
418
|
+
IMAGE_PATHS [IMAGE_PATHS ...]
|
|
412
419
|
|
|
413
420
|
positional arguments:
|
|
414
|
-
|
|
421
|
+
IMAGE_PATHS set the image filenames
|
|
415
422
|
|
|
416
423
|
options:
|
|
417
424
|
-h, --help show this help message and exit
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
fotolab/__init__.py,sha256=0UZ6OZFCRkc2Fwc4LT1UtE9JdK3uq0uL8fSSVSOuVyo,3161
|
|
2
|
+
fotolab/__main__.py,sha256=Wk11t_zKs3wJ-okM3yv7Mtj1pRwQZu3NCmpteBwn4Hs,810
|
|
3
|
+
fotolab/cli.py,sha256=Ebx6RQM5Dr8PsIqQ4NOySxnGMzGGI0U7CTawYfHROlk,4499
|
|
4
|
+
fotolab/subcommands/__init__.py,sha256=l3DlIaJ3u3jGjnC1H1yV8LZ_nPqOLJ6gikD4BCaMAQ0,1129
|
|
5
|
+
fotolab/subcommands/animate.py,sha256=3nXWeQ0l6hFMrFfxba9py60b_6Hv2WJwR_VuYzzrexw,5867
|
|
6
|
+
fotolab/subcommands/auto.py,sha256=j34xiZlbl8qFpW8kFr3Z-J0Xk08Qiz8Stn1O9I2y1io,3572
|
|
7
|
+
fotolab/subcommands/border.py,sha256=N_ptzy3vgHcmd7WwGcnSgJ34usNGmlGNT4xJ5D0hD5I,4703
|
|
8
|
+
fotolab/subcommands/contrast.py,sha256=JRnGPSQJYweZkqBIosFcJHYuO3bryC3WuHQStmlbYK0,3699
|
|
9
|
+
fotolab/subcommands/env.py,sha256=QoxRvzZKgmoHTUxDV4QYhdChCpMWs5TbXFY_qIpIQpE,1469
|
|
10
|
+
fotolab/subcommands/halftone.py,sha256=ScJB54gnmUpxh9wYCt_Y7ertZl-gYW_WPAPBHC44ReE,6894
|
|
11
|
+
fotolab/subcommands/info.py,sha256=H3voMi67cKoHT2Mu4RUNQBPdb_MspetPjhOvy-YyNnE,3563
|
|
12
|
+
fotolab/subcommands/montage.py,sha256=bjn-RlbXur38-5YNyyTs0kI2Z-caVDZtBt5EDuH5D1M,2598
|
|
13
|
+
fotolab/subcommands/resize.py,sha256=8JKHLJii6qq9eQ3QvqF56tjriRpebPZewU71xOucdug,5804
|
|
14
|
+
fotolab/subcommands/rotate.py,sha256=M6i34mgD10F9jFlXQGP6-l78BwZY8Nh-eNteAEBOjH4,2925
|
|
15
|
+
fotolab/subcommands/sharpen.py,sha256=Swd2IBO2ENc0g-Ukl-Jtj7OXaytFcTN8qEx8MRchFGE,3582
|
|
16
|
+
fotolab/subcommands/watermark.py,sha256=9mP2PWaXjAyoMsZR4mkemx18gL0pS90Qx9lT5CuOBkA,11343
|
|
17
|
+
fotolab-0.34.1.dist-info/licenses/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
|
|
18
|
+
fotolab-0.34.1.dist-info/METADATA,sha256=Nln4axVoaQ3tiFdDwyL0SkJMvpc9N_LixKjSD-Bkv2A,15101
|
|
19
|
+
fotolab-0.34.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
20
|
+
fotolab-0.34.1.dist-info/entry_points.txt,sha256=0e1go9plFpqj5FP-OpV2acxTAx3ViI59PMXuhejvgcQ,45
|
|
21
|
+
fotolab-0.34.1.dist-info/top_level.txt,sha256=XUJ3gdpsbjohoZCLdVlbQrxAUDkbQg7WwGQG2DaN0t4,8
|
|
22
|
+
fotolab-0.34.1.dist-info/RECORD,,
|
fotolab-0.34.0.dist-info/RECORD
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
fotolab/__init__.py,sha256=0UZ6OZFCRkc2Fwc4LT1UtE9JdK3uq0uL8fSSVSOuVyo,3161
|
|
2
|
-
fotolab/__main__.py,sha256=Wk11t_zKs3wJ-okM3yv7Mtj1pRwQZu3NCmpteBwn4Hs,810
|
|
3
|
-
fotolab/cli.py,sha256=Ebx6RQM5Dr8PsIqQ4NOySxnGMzGGI0U7CTawYfHROlk,4499
|
|
4
|
-
fotolab/subcommands/__init__.py,sha256=l3DlIaJ3u3jGjnC1H1yV8LZ_nPqOLJ6gikD4BCaMAQ0,1129
|
|
5
|
-
fotolab/subcommands/animate.py,sha256=pyoMfRtE-07EhFni2yS8xEoRV9up5T4VcF4Qw8me4Hs,5879
|
|
6
|
-
fotolab/subcommands/auto.py,sha256=gkpZ15JwzSlQPYSqGSeeGu0SLKps3A2cEn1dYpyQEyk,3584
|
|
7
|
-
fotolab/subcommands/border.py,sha256=TSr1rqAPWe1ZThkZan_WiMQdSTuua2YPXg6fYcvFitQ,4715
|
|
8
|
-
fotolab/subcommands/contrast.py,sha256=yoIcJbqz3S0kzMOD39MVIcLMj2GTtVN3uPI8wsoHysQ,3711
|
|
9
|
-
fotolab/subcommands/env.py,sha256=QoxRvzZKgmoHTUxDV4QYhdChCpMWs5TbXFY_qIpIQpE,1469
|
|
10
|
-
fotolab/subcommands/halftone.py,sha256=a0rZWE6elXhMSCyE-w_FKEMoDGK9Afs9oF3yT09ZhcA,6768
|
|
11
|
-
fotolab/subcommands/info.py,sha256=H3voMi67cKoHT2Mu4RUNQBPdb_MspetPjhOvy-YyNnE,3563
|
|
12
|
-
fotolab/subcommands/montage.py,sha256=ax-TG5FixBRFHPGkVTq8kOtRL900K6nujeBYHZ0yBAE,2622
|
|
13
|
-
fotolab/subcommands/resize.py,sha256=d1-_xoTB8Vf62bm7H_9MfXrMaJhlzLiUbePgTdYzaKs,5816
|
|
14
|
-
fotolab/subcommands/rotate.py,sha256=-yZ7pNW7PDOPBWbKPDut9z8bBe1NocfVBV_6V6tqq-4,2945
|
|
15
|
-
fotolab/subcommands/sharpen.py,sha256=vGBJHHHUaQ2_SHS-E1mHfNVIfnnNYcCk5ritajWTik8,3594
|
|
16
|
-
fotolab/subcommands/watermark.py,sha256=BkUa1tH86Ii_u03ypj9Tm0u9v7s9y9Jiz3aLpjmFDb8,11355
|
|
17
|
-
fotolab-0.34.0.dist-info/licenses/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
|
|
18
|
-
fotolab-0.34.0.dist-info/METADATA,sha256=AFHeSlX8rf-ueN9HHsJ9nBzfu_Nw2UoeGSJaqsFDBrc,14816
|
|
19
|
-
fotolab-0.34.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
20
|
-
fotolab-0.34.0.dist-info/entry_points.txt,sha256=0e1go9plFpqj5FP-OpV2acxTAx3ViI59PMXuhejvgcQ,45
|
|
21
|
-
fotolab-0.34.0.dist-info/top_level.txt,sha256=XUJ3gdpsbjohoZCLdVlbQrxAUDkbQg7WwGQG2DaN0t4,8
|
|
22
|
-
fotolab-0.34.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|