{
    "content": [
        {
            "type": "text",
            "text": "# winicontoppm(1) (man)\n\n## TLDR\n\n> This command has been superseded by `winicontopam`.\n\n- View documentation for the current command:\n  `tldr winicontopam`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** winicontoppm - convert a Windows .ico file into 1 or more portable pixmap files\n\n**Synopsis:** winicontoppm  [-writeands]  [-allicons|-bestqual] [-multippm] [-verbose] [iconfile] [ppmdest‐\nfile]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | — | — | For each icon written, also write the 'and' (transparancy) mask as a seperate PBM file. It's name is of the form ppmdest |\n| — | — | — | Extract all images from the .ico file. |\n| — | — | — | Extract only the best quality (largest, then highest bpp) image from the .ico file. |\n| — | — | — | Write all ppms to a single file. |\n\n## See Also\n\n- ppmtowinicon(1)\n- ppm(5)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (3 lines)\n- **DESCRIPTION** (16 lines)\n- **OPTIONS** (1 lines) — 4 subsections\n  - -writeands (3 lines)\n  - -allicons (2 lines)\n  - -bestqual (2 lines)\n  - -multippm (3 lines)\n- **SEE ALSO** (3 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\nwinicontoppm - convert a Windows .ico file into 1 or more portable pixmap files\n\n### SYNOPSIS\n\nwinicontoppm  [-writeands]  [-allicons|-bestqual] [-multippm] [-verbose] [iconfile] [ppmdest‐\nfile]\n\n### DESCRIPTION\n\nReads a Microsoft Windows .ico file, converts it to one or more ppms.\n\nA Windows icon contains 1 or more images, at different resolutions and  color  depths.   Each\nimage has an 'and' mask, which contains transparancy data.\n\nBy default, the output goes to Standard Output.  If you specify ppmdestfile, output goes into\none or more files named as follows.  If it's just one file (i.e. you  specify  the  -multippm\noption  or don't specify -allicons), the file specification is ppmdestfile.ppm.  If it's mul‐\ntiple files, their file specifications are ppmdestfile1.ppm, ppmdestfile2.ppm, etc.\n\nWhen you specify the -writeands option, the filenames  above  are  modified  to  include  the\nstring xor as in ppmdestfilexor.ppm or ppmdestfilexor1.ppm.\n\nwinicontoppm can convert images with 1, 4, 8, 24 or 32 bits per pixel (bpp).\n\n### OPTIONS\n\n#### -writeands\n\nFor  each  icon  written,  also  write the 'and' (transparancy) mask as a seperate PBM\nfile.  It's name is of the form ppmdestfileand.pbm or ppmdestfileand1.pbm.\n\n#### -allicons\n\nExtract all images from the .ico file.\n\n#### -bestqual\n\nExtract only the best quality (largest, then highest bpp) image from the .ico file.\n\n#### -multippm\n\nWrite all ppms to a single file.\n\n### SEE ALSO\n\nppmtowinicon(1), ppm(5)\n\n### AUTHOR\n\nCopyright (C) 2000, 2003 by Lee Benfield.\n\n\n\n22 May 2000                             winicontoppm(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "winicontoppm",
        "section": "1",
        "mode": "man",
        "summary": "winicontoppm - convert a Windows .ico file into 1 or more portable pixmap files",
        "synopsis": "winicontoppm  [-writeands]  [-allicons|-bestqual] [-multippm] [-verbose] [iconfile] [ppmdest‐\nfile]",
        "tldr_summary": "This command has been superseded by `winicontopam`.",
        "tldr_examples": [
            {
                "description": "View documentation for the current command",
                "command": "tldr winicontopam"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "For each icon written, also write the 'and' (transparancy) mask as a seperate PBM file. It's name is of the form ppmdestfileand.pbm or ppmdestfileand1.pbm."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Extract all images from the .ico file."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Extract only the best quality (largest, then highest bpp) image from the .ico file."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Write all ppms to a single file."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "ppmtowinicon",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ppmtowinicon/1/json"
            },
            {
                "name": "ppm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/ppm/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-writeands",
                        "lines": 3
                    },
                    {
                        "name": "-allicons",
                        "lines": 2
                    },
                    {
                        "name": "-bestqual",
                        "lines": 2
                    },
                    {
                        "name": "-multippm",
                        "lines": 3
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}