fotolab 0.33.1__py3-none-any.whl → 0.33.2__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/__init__.py CHANGED
@@ -45,12 +45,10 @@ def save_gif_image(
45
45
  "loop": 0,
46
46
  "optimize": True,
47
47
  }
48
- _save_image_with_options(
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 _save_image_with_options(
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:
fotolab/__main__.py CHANGED
@@ -19,4 +19,3 @@ from fotolab.cli import main
19
19
 
20
20
  if __name__ == "__main__":
21
21
  main()
22
- raise SystemExit()
@@ -1,6 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fotolab
3
- Version: 0.33.1
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
@@ -1,5 +1,5 @@
1
- fotolab/__init__.py,sha256=Wb9aauJu-aXInocnVSuzUwpWoMSC6moNLQ1dLORbEgQ,3442
2
- fotolab/__main__.py,sha256=aboOURPs_snOXTEWYR0q8oq1UTY9e-NxCd1j33V0wHI,833
1
+ fotolab/__init__.py,sha256=IJXouBpHQPUSSB2Hrev5CPxWEdU73GkIwuVBvdxvrJA,3114
2
+ fotolab/__main__.py,sha256=Wk11t_zKs3wJ-okM3yv7Mtj1pRwQZu3NCmpteBwn4Hs,810
3
3
  fotolab/cli.py,sha256=oFiQXmsu3wIsM_DpZnL4B94sAoB62L16Am-cjxGmosY,4406
4
4
  fotolab/subcommands/__init__.py,sha256=l3DlIaJ3u3jGjnC1H1yV8LZ_nPqOLJ6gikD4BCaMAQ0,1129
5
5
  fotolab/subcommands/animate.py,sha256=iEor831HVQtQ04Y2-kHxnU4--BfS75mXggVIblxrO6g,5881
@@ -14,9 +14,9 @@ fotolab/subcommands/resize.py,sha256=d1-_xoTB8Vf62bm7H_9MfXrMaJhlzLiUbePgTdYzaKs
14
14
  fotolab/subcommands/rotate.py,sha256=-yZ7pNW7PDOPBWbKPDut9z8bBe1NocfVBV_6V6tqq-4,2945
15
15
  fotolab/subcommands/sharpen.py,sha256=vGBJHHHUaQ2_SHS-E1mHfNVIfnnNYcCk5ritajWTik8,3594
16
16
  fotolab/subcommands/watermark.py,sha256=BkUa1tH86Ii_u03ypj9Tm0u9v7s9y9Jiz3aLpjmFDb8,11355
17
- fotolab-0.33.1.dist-info/licenses/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
18
- fotolab-0.33.1.dist-info/METADATA,sha256=ZtAGsATHK5aXwOeCLN2x_nTYrIq-O1duinmONnfCHxo,14765
19
- fotolab-0.33.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
20
- fotolab-0.33.1.dist-info/entry_points.txt,sha256=0e1go9plFpqj5FP-OpV2acxTAx3ViI59PMXuhejvgcQ,45
21
- fotolab-0.33.1.dist-info/top_level.txt,sha256=XUJ3gdpsbjohoZCLdVlbQrxAUDkbQg7WwGQG2DaN0t4,8
22
- fotolab-0.33.1.dist-info/RECORD,,
17
+ fotolab-0.33.2.dist-info/licenses/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
18
+ fotolab-0.33.2.dist-info/METADATA,sha256=FSxPx0SV3Pbjy8ViHYTC9Yojsary_ILD2-YnbjfLHJY,14814
19
+ fotolab-0.33.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
20
+ fotolab-0.33.2.dist-info/entry_points.txt,sha256=0e1go9plFpqj5FP-OpV2acxTAx3ViI59PMXuhejvgcQ,45
21
+ fotolab-0.33.2.dist-info/top_level.txt,sha256=XUJ3gdpsbjohoZCLdVlbQrxAUDkbQg7WwGQG2DaN0t4,8
22
+ fotolab-0.33.2.dist-info/RECORD,,