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.
@@ -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
@@ -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 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)
@@ -20,7 +20,7 @@ classifiers = [
20
20
  "Programming Language :: Python :: 3.13",
21
21
  "Programming Language :: Python",
22
22
  ]
23
- version = "0.31.10"
23
+ version = "0.31.11"
24
24
  dynamic = ["description"]
25
25
  keywords = ["photography", "photo"]
26
26
  dependencies = [
File without changes
File without changes
File without changes
File without changes