PNMSTITCH(1)
π PNMSTITCH(1) β Pnmstitch User Manual π
okay bestie, welcome to the General Commands Manual section, we're talking about pnmstitch today and honestly? it's giving panorama-gluing icon. let's go π«Ά
β¨ NAME β¨
pnmstitch β stitch together two panoramic (side-by-side) photographs πΈ
β¨ SYNOPSIS β¨
pnmstitch [ [left_filespec] right_filespec | left_filespec
right_filespec output_filespec ] [-width=width] [-height=height]
[-xrightpos=column] [-yrightpos=row] [-stitcher={RotateSliver,
BiLinearSliver,LinearSliver}] [-filter={LineAtATime,HorizontalCrop}]
[-output=output_filespec] [-verbose]
All options can be abbreviated to their shortest unique prefix. You may use two hyphens instead of one. You may separate an option name and its value with white space instead of an equals sign. yes really, she's flexible like that π
β¨ DESCRIPTION β¨
This program is part of Netpbm(1). π
pnmstitch stitches together two panoramic photographs. like, imagine you're standing in front of something SO huge that one camera frame simply cannot contain it β you take a pic of the left side, you take a pic of the right side, and then pnmstitch joins them into one wide picture. main character behavior tbh. πΈ
pnmstitch works only on side-by-side images, not top and bottom. (though bestie, you could absolutely use pamflip in combination with pnmstitch to achieve that, no cap.) It stitches together two images, but you can use it repeatedly to stitch together as many as you need to. π
Your photographs must overlap in order for pnmstitch to work, and the overlap should be substantial β fr fr, this is not optional. pnmstitch shifts and stretches the right hand image to match it up with the left hand image. You probably want to crop the result with pamcut to make a nice rectangular image. βοΈβ¨
If you're just trying to join (concatenate) two images at their edges, use pamcat instead β different tool, different vibe. π±
The left_filespec and right_filespec arguments are the specifications (names) of the PNM files containing the left hand and right hand images. Here's the tea on how they behave:
- If you specify only
right_filespec, the left hand image comes from Standard Input. - If you specify neither, both images come from Standard Input as a multi-image file containing first the left and then the right image. π¦
output_filespec is the specification (name) of the output PNM file. The -output option also specifies the output file. You cannot specify both the argument and the option. If you specify neither, the output goes to Standard Output. periodt. π
β¨ OPTIONS β¨
In addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common Options), pnmstitch recognizes the following command line options:
-width=width β a constraint on wherepnmstitchstitches the images together.-height=height β also a constraint on wherepnmstitchstitches the images together.-xrightpos=column β constraint on the stitch location. For theLinearSlivermethod,columntells what location in the right hand image matches up to the top right corner of the left hand image. π-yrightpos=row β constraint on the stitch location. For theLinearSlivermethod,rowtells what location in the right hand image matches up to the top right corner of the left hand image. π-stitcher={RotateSliver,BiLinearSliver,LinearSliver}β picks the stitching method. The default isRotateSliver. π-filter={LineAtATime,HorizontalCrop}β No details available. π (yes, that's genuinely all we got, don't come for me)-output=output_filespec β name of output file. If you don't specify this option, the output image goes to Standard Output. π-verboseβ this option causespnmstitchto issue messages to Standard Error about the stitching process. living out loud, narrating her own journey fr π¬
β¨ SEE ALSO β¨
pamcut(1), pamcat(1), pamflip(1), pnm(1),
β¨ HISTORY β¨
This program was added to Netpbm in Release 10.7 (August 2002). a true vintage queen π
β¨ DOCUMENT SOURCE β¨
This manual page was generated by the Netpbm tool makeman from HTML source. The master documentation is at
http://netpbm.sourceforge.net/doc/pnmstitch.html
and that's the whole page, bestie!! shoutout to netpbm documentation, dated July 2002 π β go stitch something wide, you've got this. π¦β¨π
π¦ where this page comes from
- debian trixie: netpbm 2:11.10.02-1 Β· MIT
- ubuntu noble: netpbm 2:11.05.02-1.1build1 Β· MIT
- ubuntu resolute: netpbm 2:11.10.02-1build1 Β· MIT
- ubuntu stonking: netpbm 2:11.13.03+ds-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms