pamstretch-gen man page

pamstretch-gen — use pamstretch and pamscale to scale by non-integer values


pamstretch-gen N [pnmfile]


This program is part of Netpbm(1).

pamstretch-gen is a program which uses pamstretch(1), pnmfile(1), and pamscale(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. :-)


The program 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), pamscale(1)


Russell Marks (

Document Source

This manual page was generated by the Netpbm tool 'makeman' from HTML source.  The master documentation is at

Referenced By


10 April 2000 netpbm documentation