fotolab 0.31.10__py3-none-any.whl → 0.31.11__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.
@@ -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 sides
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("At least two images is required for montage")
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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fotolab
3
- Version: 0.31.10
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
@@ -4,18 +4,18 @@ 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=2bNaFyUbA5yNgBgd9WhVnJ1R28nfHu0agAJBBww1Z4w,5534
6
6
  fotolab/subcommands/auto.py,sha256=3Hl1cCdu65GcfwvwiMRAcex6c7zA-KqIY6AFnB6nI3w,2447
7
- fotolab/subcommands/border.py,sha256=096EPvuxCB1qnF5VPG8mLtQLXTM5cpkv0ExZXFSh5k8,4665
7
+ fotolab/subcommands/border.py,sha256=VYs8SorNYMwk7bVhD7jyolvFly7XdV-s9tNVQQYZPtA,4671
8
8
  fotolab/subcommands/contrast.py,sha256=fcXmHnxDw74j5ZUDQ5cwWh0N4tpyqqvEjymnpITgrEk,3027
9
9
  fotolab/subcommands/env.py,sha256=QoxRvzZKgmoHTUxDV4QYhdChCpMWs5TbXFY_qIpIQpE,1469
10
10
  fotolab/subcommands/halftone.py,sha256=PgTGf9cChCYYbhB6vdNmzndobb4sK36ujGtZz4XAma0,6678
11
11
  fotolab/subcommands/info.py,sha256=H3voMi67cKoHT2Mu4RUNQBPdb_MspetPjhOvy-YyNnE,3563
12
- fotolab/subcommands/montage.py,sha256=d_3EcyRSFS8fKkczlHO8IRP-mrKhQUtkQndjfd0MKsc,2566
12
+ fotolab/subcommands/montage.py,sha256=ouwOnJQeXJTzsXi-4uby8c6k_VWg0Yo37FuvwAFx8ME,2566
13
13
  fotolab/subcommands/resize.py,sha256=eZGoHVMehpHrAX_y-M56s43lSvWmywMjHRVI_dYqpcA,5429
14
14
  fotolab/subcommands/rotate.py,sha256=uBFjHyjiBSQLtrtH1p9myODIHUDr1gkL4PpU-6Y1Ofo,2575
15
15
  fotolab/subcommands/sharpen.py,sha256=YNho2IPbc-lPvSy3Bsjehc2JOEy27LPqFSGRULs9MyY,3492
16
16
  fotolab/subcommands/watermark.py,sha256=cpdzmdzBXcaXWSrklYycnkPLjorLnTM-IXjPigPu0y0,11268
17
- fotolab-0.31.10.dist-info/entry_points.txt,sha256=mvw7AY_yZkIyjAxPtHNed9X99NZeLnMxEeAfEJUbrCM,44
18
- fotolab-0.31.10.dist-info/licenses/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
19
- fotolab-0.31.10.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
20
- fotolab-0.31.10.dist-info/METADATA,sha256=Rr_f5lx8OyI21XSd94pYFDEk4OHecGNcnxPGfeDVN2A,13455
21
- fotolab-0.31.10.dist-info/RECORD,,
17
+ fotolab-0.31.11.dist-info/entry_points.txt,sha256=mvw7AY_yZkIyjAxPtHNed9X99NZeLnMxEeAfEJUbrCM,44
18
+ fotolab-0.31.11.dist-info/licenses/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
19
+ fotolab-0.31.11.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
20
+ fotolab-0.31.11.dist-info/METADATA,sha256=_gb4Ff3cMFvv1BamWK-UgLIVsT0B3vQTEwtLIhBp5Is,14307
21
+ fotolab-0.31.11.dist-info/RECORD,,