#image #join

stitchy-core

Library to combine multiple image files into a single image

1 unstable release

0.1.0 Apr 29, 2023

#719 in Images


Used in stitchy

MIT license

43KB
780 lines

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.

Dependencies

~4.5MB
~69K SLoC