Stitchy Core

example workflow Crates.io

Joins multiple existing image files into a single output. Builder patterns are provided to perform these operations. Files can be added by individual paths, or in bulk from directories. This crate relies heavily on the image crates, and the output is returned as an image::DynamicImage, which is re-exported from this crate for convenience.

Images of the same size will stitch together neatly:

| Input files | | | Output | |--------------------------------------------| --- | --- | --- | | Sample 1 | Sample 2 | Sample 3 | Sample Output |

If the images are more irregular in shape, the tool will attempt to arrange them as neatly as possible, and scale some images in the process:

| Input files | | | | Output | | --- | --- | --- | --- | --- | | Sample 1 | Sample 2 | Sample 3 | Sample 3 | Sample Output |

Usage

See crate documentation for details on the API.