Linux Commands Examples

A great documentation place for Linux commands


use pamstretch and pnmscale to scale by non-integer values

see also : pamstretch - pnmscale


pamstretch-gen N [pnmfile]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


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. :-)


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

see also

pamstretch , pnmscale


Russell Marks (russell.marks[:at:]ntlworld[:dot:]com).

How can this site be more helpful to YOU ?

give  feedback