{
    "mode": "man",
    "parameter": "st4topgm",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/st4topgm/1/json",
    "generated": "2026-09-01T09:19:36Z",
    "synopsis": "",
    "sections": {
        "NAME": {
            "content": "st4topgm - convert an SBIG ST-4 camera file to PGM\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "",
            "subsections": [
                {
                    "name": "st4topgm",
                    "content": "[st4file]\n\n"
                }
            ]
        },
        "DESCRIPTION": {
            "content": "This program is part of Netpbm(1).\n\nst4topgm  reads an image file in the native format used by the Santa Barbara Instrument Group\n(SBIG) ST-4 astronomical CCD cameras, and produces a PGM image as output.  This format is not\nto be confused with the format most other SBIG cameras use, for which you can use sbigtopgm.\n\nAdditional information on SBIG cameras and documentation of the file format is  available  at\nthe Web site, \u001b]8;;http://www.sbig.com/\u001b\\http://www.sbig.com/\u001b]8;;\u001b\\ .\n\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "There  are  no  command line options defined specifically for st4topgm, but it recognizes the\noptions common to all programs based on libnetpbm (See \u001b]8;;index.html#commonoptions\u001b\\ Common Options\u001b]8;;\u001b\\ .)\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pgmtost4(1) sbigtopgm(1) pgm(1)\n\n",
            "subsections": []
        },
        "HISTORY": {
            "content": "Bryan Henderson wrote st4topgm for Sourceforge Netpbm in January 2015.   However,  there  has\nbeen another program by the same name for the same purpose since December 2003, in the Debian\nversion of Netpbm.  It was written by Justin Pryzby <justinpryzby@users.sf.net>.\n\nBryan  discovered  the  Debian  version  when  Prophet of the Way did a comparison of the two\nNetpbms in January 2015.  It was the only program that the Debian version had that the Netpbm\nversion did not (not counting one that really didn't belong in any Netpbm), so Bryan  decided\nto  add  it.   Because  it  was  a small program, Bryan decided to write a replacement in the\nNetpbm coding style rather than just copy Pryzby's code, but Bryan endeavoured  to  keep  the\nsame function.\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/st4topgm.html\n\nnetpbm documentation                       20 January 2015                   St4topgm User Manual(1)",
            "subsections": []
        }
    },
    "summary": "st4topgm - convert an SBIG ST-4 camera file to PGM",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "pgmtost4",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pgmtost4/1/json"
        },
        {
            "name": "sbigtopgm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/sbigtopgm/1/json"
        },
        {
            "name": "pgm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pgm/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Convert an SBIG ST-4 file to PGM.",
        "examples": [
            {
                "description": "Convert an SBIG ST-4 file to a PGM file",
                "command": "st4topgm {{path/to/input_file.st4}} > {{path/to/output.pgm}}"
            }
        ]
    }
}