fotolab 0.33.1__tar.gz → 0.33.2__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.33.1/src/fotolab.egg-info → fotolab-0.33.2}/PKG-INFO +2 -1
- {fotolab-0.33.1 → fotolab-0.33.2}/pyproject.toml +2 -1
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/__init__.py +2 -18
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/__main__.py +0 -1
- {fotolab-0.33.1 → fotolab-0.33.2/src/fotolab.egg-info}/PKG-INFO +2 -1
- {fotolab-0.33.1 → fotolab-0.33.2}/LICENSE.md +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/README.md +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/setup.cfg +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/cli.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/subcommands/__init__.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/subcommands/animate.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/subcommands/auto.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/subcommands/border.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/subcommands/contrast.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/subcommands/env.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/subcommands/halftone.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/subcommands/info.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/subcommands/montage.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/subcommands/resize.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/subcommands/rotate.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/subcommands/sharpen.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab/subcommands/watermark.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab.egg-info/SOURCES.txt +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab.egg-info/dependency_links.txt +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab.egg-info/entry_points.txt +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab.egg-info/requires.txt +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/src/fotolab.egg-info/top_level.txt +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/tests/test_animate_subcommand.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/tests/test_auto_subcommand.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/tests/test_border_subcommand.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/tests/test_contrast_subcommand.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/tests/test_env_subcommand.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/tests/test_halftone_subcommand.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/tests/test_help_flag.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/tests/test_info_subcommand.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/tests/test_montage_subcommand.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/tests/test_quiet_flag.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/tests/test_resize_subcommand.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/tests/test_rotate_subcommand.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/tests/test_sharpen_subcommand.py +0 -0
- {fotolab-0.33.1 → fotolab-0.33.2}/tests/test_watermark_subcommand.py +0 -0
@@ -1,6 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: fotolab
|
3
|
-
Version: 0.33.
|
3
|
+
Version: 0.33.2
|
4
|
+
Summary: A console program to manipulate photos.
|
4
5
|
Author-email: Kian-Meng Ang <kianmeng@cpan.org>
|
5
6
|
License-Expression: AGPL-3.0-or-later
|
6
7
|
Project-URL: Changelog, https://github.com/kianmeng/fotolab/blob/master/CHANGELOG.md
|
@@ -7,7 +7,8 @@ where = ["src"]
|
|
7
7
|
|
8
8
|
[project]
|
9
9
|
name = "fotolab"
|
10
|
-
version = "0.33.
|
10
|
+
version = "0.33.2"
|
11
|
+
description = "A console program to manipulate photos."
|
11
12
|
authors = [{name = "Kian-Meng Ang", email = "kianmeng@cpan.org"}]
|
12
13
|
requires-python = ">=3.9"
|
13
14
|
readme = "README.md"
|
@@ -45,12 +45,10 @@ def save_gif_image(
|
|
45
45
|
"loop": 0,
|
46
46
|
"optimize": True,
|
47
47
|
}
|
48
|
-
|
49
|
-
args, original_image, image_filepath, subcommand, **gif_kwargs
|
50
|
-
)
|
48
|
+
save_image(args, original_image, image_filepath, subcommand, **gif_kwargs)
|
51
49
|
|
52
50
|
|
53
|
-
def
|
51
|
+
def save_image(
|
54
52
|
args: argparse.Namespace,
|
55
53
|
image: Image.Image,
|
56
54
|
output_filepath: Path,
|
@@ -74,20 +72,6 @@ def _save_image_with_options(
|
|
74
72
|
_open_image(new_filename)
|
75
73
|
|
76
74
|
|
77
|
-
def save_image(
|
78
|
-
args: argparse.Namespace,
|
79
|
-
new_image: Image.Image,
|
80
|
-
output_filepath: Path,
|
81
|
-
subcommand: str,
|
82
|
-
) -> None:
|
83
|
-
"""Save image after image operation.
|
84
|
-
|
85
|
-
Returns:
|
86
|
-
None
|
87
|
-
"""
|
88
|
-
_save_image_with_options(args, new_image, output_filepath, subcommand)
|
89
|
-
|
90
|
-
|
91
75
|
def _get_output_filename(
|
92
76
|
args: argparse.Namespace, image_file: Path, subcommand: str
|
93
77
|
) -> Path:
|
@@ -1,6 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: fotolab
|
3
|
-
Version: 0.33.
|
3
|
+
Version: 0.33.2
|
4
|
+
Summary: A console program to manipulate photos.
|
4
5
|
Author-email: Kian-Meng Ang <kianmeng@cpan.org>
|
5
6
|
License-Expression: AGPL-3.0-or-later
|
6
7
|
Project-URL: Changelog, https://github.com/kianmeng/fotolab/blob/master/CHANGELOG.md
|
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
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|