pnmmontage

Combine multiple images into a montage

TLDR

Create image montage
$ pnmmontage [image1.pnm] [image2.pnm] [image3.pnm] > [montage.pnm]
Create montage with border
$ pnmmontage -margin [5] [image*.pnm] > [montage.pnm]
Create specific layout
$ pnmmontage -across [3] [image*.pnm] > [montage.pnm]

SYNOPSIS

pnmmontage [options] files...

DESCRIPTION

pnmmontage combines multiple PNM images into a single montage. Arranges images in a grid layout. Part of Netpbm toolkit for image composition.

PARAMETERS

-across n

Images per row.
-margin pixels
Margin between images.
-border pixels
Border around montage.
-back color
Background color.

INSTALL

sudo apt install netpbm
sudo dnf install netpbm
sudo pacman -S netpbm
sudo apk add netpbm
sudo zypper install netpbm
brew install netpbm
nix profile install nixpkgs#netpbm

SEE ALSO

pamundice(1), pnmcat(1)