{
    "mode": "man",
    "parameter": "pamstretch-gen",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pamstretch-gen/1/json",
    "generated": "2026-10-05T01:24:36Z",
    "synopsis": "pamstretch-gen N [pnmfile]",
    "sections": {
        "NAME": {
            "content": "pamstretch-gen - use pamstretch and pamscale to scale by non-integer values\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pamstretch-gen N [pnmfile]\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This program is part of Netpbm(1).\n\npamstretch-gen  is  a program which uses pamstretch(1) and pamscale(1) to smoothly scale up a\nNetpbm image by any factor; it's like a more general version of pamstretch (hence the name).\n\npamstretch-gen uses the -dropedge option on pamstretch.\n\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "There are no command line options defined specifically for pamstretch-gen, but it  recognizes\nthe options common to all programs based on libnetpbm (See  Common Options .)\n\nThe  Netpbm global options -quiet and -plain did not exist on pamstretch-gen prior to version\n10.86 (March 2019).  -quiet did not work until version 10.91 (June 2020).\n\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pamstretch(1), pamscale(1)\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Russell Marks (russell.marks@ntlworld.com).\n",
            "subsections": []
        },
        "DOCUMENT SOURCE": {
            "content": "This manual page was generated by the Netpbm tool 'makeman' from  HTML  source.   The  master\ndocumentation is at\n\nhttp://netpbm.sourceforge.net/doc/pamstretch-gen.html\n\nnetpbm documentation                       15 January 2019             Pamstretch-gen User Manual(1)",
            "subsections": []
        }
    },
    "summary": "pamstretch-gen - use pamstretch and pamscale to scale by non-integer values",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "pamstretch",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pamstretch/1/json"
        },
        {
            "name": "pamscale",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pamscale/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Scale up a PAM image by decimal values.",
        "examples": [
            {
                "description": "Scale up a PAM image by the specified decimal factor",
                "command": "pamstretch-gen {{n}} {{path/to/image.pam}} > {{path/to/output.pam}}"
            }
        ]
    }
}