phpman > man > pamstretch-gen(1)

Markdown | JSON | MCP    

TLDR: pamstretch-gen (tldr-pages)

Scale up a PAM image by decimal values.

  • Scale up a PAM image by the specified decimal factor
    pamstretch-gen {{n}} {{path/to/image.pam}} > {{path/to/output.pam}}
pamstretch-gen(1)                      General Commands Manual                     pamstretch-gen(1)



NAME
       pamstretch-gen - use pamstretch and pnmscale to scale by non-integer values


SYNOPSIS
       pamstretch-gen N [pnmfile]


DESCRIPTION
       pamstretch-gen is a program which uses pamstretch(1), pnmfile(1), and pnmscale(1) to smoothly
       scale up a PNM file by any ratio; it's like a more general version of pamstretch  (hence  the
       name). But other than the `any ratio' bit, it's much the same as pamstretch. :-)


BUGS
       Uses  awk  just  to make some simple floating-point calculations, which is probably overkill.
       But using dc makes my head hurt.


SEE ALSO
       pamstretch(1), pnmscale(1)


AUTHOR
       Russell Marks (russell.marks AT ntlworld.com).



                                            10 April 2000                          pamstretch-gen(1)

Generated by phpman v3.7.12 Author: Che Dong Under GNU General Public License
2026-06-13 12:43 @216.73.216.28
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!