LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pnmmontage

Combine multiple images into a montage

TLDR

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

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
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

SEE ALSO

pamundice(1), pnmcat(1)

Copied to clipboard
Kai