pamstretch-gen(1)

πŸ“¦ version 10.0, in ubuntu jammy

πŸ’– pamstretch-gen πŸ’–

okay bestie, so this is the manual page for pamstretch-gen, a lil command from the General Commands Manual section, and it's genuinely one of my faves for a very specific reason that we're gonna get into. sit down, grab a boba, let's go πŸ§‹βœ¨


✨ NAME ✨

pamstretch-gen β€” use pamstretch and pnmscale to scale by non-integer values πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

pamstretch-gen N [pnmfile]

🌸 DESCRIPTION 🌸

so, pamstretch-gen is a program that uses pamstretch(1), pnmfile(1), and pnmscale(1) to smoothly scale up a PNM file by any ratio. literally any ratio. she's flexible like that. ✨

think of her as a more general version of pamstretch β€” hence the name, iykyk πŸŽ€. but fr fr, other than the "any ratio" bit, she's much the same as pamstretch. :-)


πŸ’€ BUGS πŸ’€

okay so, tea time: it uses awk just to make some simple floating-point calculations, which is, and I quote, "probably overkill." 😭 like she's out here calling a whole entire language to do some basic math. but also β€” using dc makes the author's head hurt, so. we respect the boundary, periodt. πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘


πŸ’œ AUTHOR πŸ’œ

Russell Marks (russell.marks@ntlworld.com). give her a round of applause, she ate 🫢


and that's the whole thing, bestie! this page is from the General Commands Manual for pamstretch-gen, dated 10 April 2000 β€” yeah she's an elder millennial icon, born before most of us, and still serving πŸ’–βœ¨ go scale something by 3.7x, no cap 🌈

πŸ“¦ where this page comes from