pnmpaste
Paste a PNM image into another PNM image. tldr-pages
On several platforms
Several platforms
Paste a PNM image into another PNM image at the specified coordinates
pnmpaste x y path/to/image1.pnm path/to/image2.pnm >path/to/output.pnmIdentifyPaste the image read from stdin into the specified image
command | pnmpaste x y path/to/image.pnm >path/to/output.pnmIdentifyCombine the overlapping pixels by the specified boolean operation, where white pixels represent true while black pixels represent false
pnmpaste -and x y path/to/image1.pnm path/to/image2.pnm >path/to/output.pnmIdentify