Pamstretch-gen User Manual(0) Pamstretch-gen User Manual(0)

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.

pamstretch(1) , pamscale(1)

Russell Marks (

10 April 2000 netpbm documentation