{
    "mode": "man",
    "parameter": "pamtosrf",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pamtosrf/1/json",
    "generated": "2026-10-24T12:14:17Z",
    "synopsis": "pamtosrf [-verbose] [netpbmfile]",
    "sections": {
        "NAME": {
            "content": "pamtosrf - convert a sequence of Netpbm images to a SRF image file\n\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pamtosrf [-verbose] [netpbmfile]\n\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This program is part of Netpbm(1).\n\npamtosrf  reads a Netpbm image stream as input and produces a an SRF image file as output.  I\ndon't know exactly what SRF is, but on popular use of it is  in  Garmin  vehicle  information\nfiles, which tell a GPS receiver how to depict a vehicle on its display.\n\nAn  SRF file can contain multiple images; each image in a multi-image Netpbm input stream be‐\ncomes one image in the SRF.\n\npamtosrf does not care how many images there are or what their  dimensions  or  content  are.\nHowever,  a  Garmin  vehicle information file has specific requirements, so if you don't make\nyour Netpbm input conform, neither will your SRF output.  For such a file,  you  should  have\ntwo  image:  the first for 3D oblique views of the vehicle and the second for overhead views.\nEach image is a horizontal concatenation of 36 square images, each rotated  10  degrees  from\nthe  previous, thereby covering the full 360 degree circle.  You could create this concatena‐\ntion with pamcat -lr and you could create the individual views with pnmrotate.\n\nOne way to use pamtosrf is to get an SRF file, convert it to PAM  with  srftopam,  manipulate\nit, then convert it back with pamtosrf.\n\nnetpbmfile  is the input stream, which defaults to Standard Input.  Output is always on Stan‐\ndard Output.\n\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "In addition to the options common to all programs based on libnetpbm  (most  notably  -quiet,\nsee  Common Options ), pamtosrf recognizes the following command line option:\n\n\n",
            "subsections": [
                {
                    "name": "-verbose",
                    "content": "Issue informational messages about the input and the conversion process.\n\n\n\n\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "•\n\nsrftopam(1)\n\n•\n\npamcat(1)\n\n•\n\npam(1)\n\n\n",
            "subsections": []
        },
        "HISTORY": {
            "content": "srftopam was new in Netpbm 10.55 (June 2011).\n\nIt was contributed by Mike Frysinger.\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/pamtosrf.html\n\nnetpbm documentation                         27 May 2011                     Pamtosrf User Manual(1)",
            "subsections": []
        }
    },
    "summary": "pamtosrf - convert a sequence of Netpbm images to a SRF image file",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Issue informational messages about the input and the conversion process."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "srftopam",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/srftopam/1/json"
        },
        {
            "name": "pamcat",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pamcat/1/json"
        },
        {
            "name": "pam",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pam/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Convert Netpbm images to SRF format.",
        "examples": [
            {
                "description": "Convert a Netpbm image or a stream of Netpbm images to SRF format",
                "command": "pamtosrf {{path/to/file.pam}} > {{path/to/output.srf}}"
            }
        ]
    }
}