Stitchy CLI

example workflow Crates.io

Joins multiple existing image files into a single output. Supports various flags for arranging the output, choosing the image format, or scaling down to desirable dimensions.

This crate is a CLI tool which wraps the features of the stitchy-core crate, adding configuration capabilities using command-line arguments and profile defaults, and adding file output.

Running

Performed with a simple command that operates on the current directory:

stitchy n

where n is the number of images you would like to stitch together into one. The tool will take the n most recent files and arrange them in a grid, resizing where needed, and outputting a file "stitch.jpg".

Various flags exist to adjust how source images are selected and how the output is generated. Run stitchy --help to see a list of these flags.

Installing

That's it! The binary will be built from source and placed in the .cargo/bin directory inside your home folder. This should be available on your PATH if Cargo is installed correctly.

Note that this crate will only compile with Rust version 1.56 and up.

NetBSD

If you are using NetBSD, stitchy is available from the official repositories. Simply run,

sh pkgin install stitchy

to install the binary package

Details