{
    "content": [
        {
            "type": "text",
            "text": "# pamstretch-gen (man)\n\n## NAME\n\npamstretch-gen - use pamstretch and pnmscale to scale by non-integer values\n\n## SYNOPSIS\n\npamstretch-gen N [pnmfile]\n\n## DESCRIPTION\n\npamstretch-gen is a program which uses pamstretch(1), pnmfile(1), and pnmscale(1) to smoothly\nscale up a PNM file by any ratio; it's like a more general version of pamstretch  (hence  the\nname). But other than the `any ratio' bit, it's much the same as pamstretch. :-)\n\n## TLDR\n\n> Scale up a PAM image by decimal values.\n\n- Scale up a PAM image by the specified decimal factor:\n  `pamstretch-gen {{n}} {{path/to/image.pam}} > {{path/to/output.pam}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **BUGS**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pamstretch-gen",
        "section": "",
        "mode": "man",
        "summary": "pamstretch-gen - use pamstretch and pnmscale to scale by non-integer values",
        "synopsis": "pamstretch-gen N [pnmfile]",
        "tldr_summary": "Scale up a PAM image by decimal values.",
        "tldr_examples": [
            {
                "description": "Scale up a PAM image by the specified decimal factor",
                "command": "pamstretch-gen {{n}} {{path/to/image.pam}} > {{path/to/output.pam}}"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "pamstretch",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pamstretch/1/json"
            },
            {
                "name": "pnmscale",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pnmscale/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pamstretch-gen - use pamstretch and pnmscale to scale by non-integer values\n\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "pamstretch-gen N [pnmfile]\n\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "pamstretch-gen is a program which uses pamstretch(1), pnmfile(1), and pnmscale(1) to smoothly\nscale up a PNM file by any ratio; it's like a more general version of pamstretch  (hence  the\nname). But other than the `any ratio' bit, it's much the same as pamstretch. :-)\n\n",
                "subsections": []
            },
            "BUGS": {
                "content": "Uses  awk  just  to make some simple floating-point calculations, which is probably overkill.\nBut using dc makes my head hurt.\n\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "pamstretch(1), pnmscale(1)\n\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Russell Marks (russell.marks@ntlworld.com).\n\n\n\n10 April 2000                          pamstretch-gen(1)",
                "subsections": []
            }
        }
    }
}