pamstretch-gen - Man Page

use pamstretch and pamscale to scale by non-integer values

Examples (TL;DR)


pamstretch-gen N [pnmfile]


This program is part of Netpbm(1).

pamstretch-gen is a program which uses pamstretch(1) and pamscale(1) to smoothly scale up a Netpbm image by any factor; it's like a more general version of pamstretch (hence the name).

pamstretch-gen uses the -dropedge option on pamstretch.


There are no command line options defined specifically for pamstretch-gen, but it recognizes the options common to all programs based on libnetpbm (See Common Options .)

The Netpbm global options -quiet and -plain did not exist on pamstretch-gen prior to version 10.86 (March 2019). -quiet did not work until version 10.91 (June 2020).

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

pamscale(1), pamstretch(1), pnmscalefixed(1).

15 January 2019 netpbm documentation