Resize selected supported images without cropping while preserving aspect ratio.
imgResize(width=1920, height=1080, source=None)widthType: int, default 1920
Maximum output width in pixels. Must be greater than zero.
heightType: int, default 1080
Maximum output height in pixels. Must be greater than zero.
sourceType: path, iterable of paths, or None
Optional image input. If omitted, all supported images in the current folder are discovered.
A list of `Path` objects for the resized images, or `None` when no images are found.
imgResize()imgResize(1920, 1080)imgTopdf(source=imgResize(1280, 720))The function uses contain-style resizing, so the image is not cropped.
When source is omitted, Toolvix discovers matching files in the current working folder. When source is supplied, only the supplied files are processed. This makes nested pipelines deterministic.