{
    "content": [
        {
            "type": "text",
            "text": "# ilbmtoppm(1) (man)\n\n## TLDR\n\n> Convert an ILBM file to a PPM image.\n\n- Convert an ILBM file to a PPM image:\n  `ilbmtoppm {{path/to/file.ilbm}} > {{path/to/file.ppm}}`\n- Use the specified color to \"show through\" where the image is transparent:\n  `ilbmtoppm {{-t|-transparent}} {{color}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}`\n- Ignore the chunk with the specified chunk ID:\n  `ilbmtoppm {{-ig|-ignore}} {{chunk_id}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}`\n- Store the input's transparency information to the specified PBM file:\n  `ilbmtoppm {{-m|-maskfile}} {{path/to/maskfile.pbm}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** ilbmtoppm - convert an ILBM file into a portable pixmap\n\n**Synopsis:** ilbmtoppm [-verbose] [-ignore<chunkID>] [-isham|-isehb] [-adjustcolors] [ILBMfile]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | — | — | Give some information about the ILBM file. |\n| — | — | — | Skip a chunk. <chunkID> is the 4-letter IFF chunk identifier of the chunk to be skipped. |\n| — | — | — | Treat the input file as a HAM or ExtraHalfbrite picture, even if these flags or not set in the CAMG chunk (or if there i |\n| — | — | — | If all colors in the CMAP have a value of less then 16, ilbmtoppm assumes a 4-bit col‐ ormap and gives a warning. With t |\n\n## See Also\n\n- ppm(5)\n- ppmtoilbm(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (30 lines)\n- **OPTIONS** (1 lines) — 4 subsections\n  - -verbose (2 lines)\n  - -ignore <chunkID> (3 lines)\n  - -isham | -isehb (3 lines)\n  - -adjustcolors (3 lines)\n- **BUGS** (2 lines)\n- **REFERENCES** (3 lines)\n- **SEE ALSO** (2 lines)\n- **AUTHORS** (8 lines)\n\n## Full Content\n\n### NAME\n\nilbmtoppm - convert an ILBM file into a portable pixmap\n\n### SYNOPSIS\n\nilbmtoppm [-verbose] [-ignore<chunkID>] [-isham|-isehb] [-adjustcolors] [ILBMfile]\n\n### DESCRIPTION\n\nReads an IFF ILBM file as input.  Produces a portable pixmap as output.  Supported ILBM types\nare:\n\nNormal ILBMs with 1-16 planes.\n\nAmiga ExtraHalfbrite (EHB)\n\nAmiga HAM with 3-16 planes.\n\n24 bit.\n\nMultiplatte (normal or HAM) pictures.\n\nColor map (BMHD + CMAP chunk only, nPlanes = 0).\n\nUnofficial direct color.\n1-16 planes for each color component.\n\nChunks used:\nBMHD, CMAP, CAMG (only HAM & EHB flags used), PCHG,  BODY  unofficial  DCOL  chunk  to\nidentify direct color ILBM\n\nChunks ignored:\nGRAB, DEST, SPRT, CRNG, CCRT, CLUT, DPPV, DRNG, EPSF\n\nOther chunks (ignored but displayed in verbose mode):\nNAME, AUTH, (c), ANNO, DPI\n\nUnknown chunks are skipped.\n\n### OPTIONS\n\n#### -verbose\n\nGive some information about the ILBM file.\n\n#### -ignore <chunkID>\n\nSkip  a  chunk.   <chunkID>  is  the  4-letter IFF chunk identifier of the chunk to be\nskipped.\n\n#### -isham | -isehb\n\nTreat the input file as a HAM or ExtraHalfbrite picture, even if these flags  or  not\nset in the CAMG chunk (or if there is no CAMG chunk).\n\n#### -adjustcolors\n\nIf all colors in the CMAP have a value of less then 16, ilbmtoppm assumes a 4-bit col‐\normap and gives a warning.  With this option the colormap is scaled to 8 bits.\n\n### BUGS\n\nThe multipalette PCHG BigLineChanges and Huffman decompression code is untested.\n\n### REFERENCES\n\nAmiga ROM Kernel Reference Manual - Devices (3rd Ed.)\nAddison Wesley, ISBN 0-201-56775-X\n\n### SEE ALSO\n\nppm(5), ppmtoilbm(1)\n\n### AUTHORS\n\nCopyright (C) 1989 by Jef Poskanzer.\nModified October 1993 by Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)\n\n\n\n\n\n04 October 1993                              ilbmtoppm(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "ilbmtoppm",
        "section": "1",
        "mode": "man",
        "summary": "ilbmtoppm - convert an ILBM file into a portable pixmap",
        "synopsis": "ilbmtoppm [-verbose] [-ignore<chunkID>] [-isham|-isehb] [-adjustcolors] [ILBMfile]",
        "tldr_summary": "Convert an ILBM file to a PPM image.",
        "tldr_examples": [
            {
                "description": "Convert an ILBM file to a PPM image",
                "command": "ilbmtoppm {{path/to/file.ilbm}} > {{path/to/file.ppm}}"
            },
            {
                "description": "Use the specified color to \"show through\" where the image is transparent",
                "command": "ilbmtoppm {{-t|-transparent}} {{color}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}"
            },
            {
                "description": "Ignore the chunk with the specified chunk ID",
                "command": "ilbmtoppm {{-ig|-ignore}} {{chunk_id}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}"
            },
            {
                "description": "Store the input's transparency information to the specified PBM file",
                "command": "ilbmtoppm {{-m|-maskfile}} {{path/to/maskfile.pbm}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Give some information about the ILBM file."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Skip a chunk. <chunkID> is the 4-letter IFF chunk identifier of the chunk to be skipped."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Treat the input file as a HAM or ExtraHalfbrite picture, even if these flags or not set in the CAMG chunk (or if there is no CAMG chunk)."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "If all colors in the CMAP have a value of less then 16, ilbmtoppm assumes a 4-bit col‐ ormap and gives a warning. With this option the colormap is scaled to 8 bits."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "ppm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/ppm/5/json"
            },
            {
                "name": "ppmtoilbm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ppmtoilbm/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 30,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-verbose",
                        "lines": 2
                    },
                    {
                        "name": "-ignore <chunkID>",
                        "lines": 3
                    },
                    {
                        "name": "-isham | -isehb",
                        "lines": 3
                    },
                    {
                        "name": "-adjustcolors",
                        "lines": 3
                    }
                ]
            },
            {
                "name": "BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REFERENCES",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 8,
                "subsections": []
            }
        ]
    }
}