Combine selected supported images into one PDF, or combine every supported image in the current folder.
imgTopdf(output_file="photos.pdf", source=None)output_fileType: str, default "photos.pdf"
Name of the PDF created inside `converted pdfs/`.
sourceType: path, iterable of paths, or None
Optional image input. Supported formats are JPG, JPEG, PNG, WEBP, and BMP. If omitted, all supported images in the current folder are discovered.
A `Path` pointing to the created PDF, or `None` when no images are found.
imgTopdf()imgTopdf(source=["one.png", "two.jpg"])imgTopdf(source=imgResize(1280, 720))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.