{
    "mode": "man",
    "parameter": "svgtopam",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/svgtopam/1/json",
    "generated": "2026-09-03T15:50:42Z",
    "synopsis": "svgtopam [-trace] [pnmfile]\nMinimum  unique  abbreviation of option is acceptable.  You may use double hyphens instead of\nsingle hyphen to denote options.  You may use white space in place of the equals sign to sep‐\narate an option name from its value.",
    "sections": {
        "NAME": {
            "content": "svgtopam - convert an SVG (Scalable Vector Graphics) image to Netpbm format\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "svgtopam [-trace] [pnmfile]\n\nMinimum  unique  abbreviation of option is acceptable.  You may use double hyphens instead of\nsingle hyphen to denote options.  You may use white space in place of the equals sign to sep‐\narate an option name from its value.\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This program is part of Netpbm(1).\n\nsvgtopam reads an SVG (Scalable Vector Graphics) image as input and produces a PAM  image  as\noutput.\n\nsvgtopam  is so weak that it is probably not useful in general for converting SVG images.  It\nunderstands only <path> SVG elements which use only the \"M\", \"L\", and \"z\" commands, and  only\nthose  that use whole number arguments.  This is sufficient for converting most of what comes\nout of pamtosvg (not by coincidence - the program was developed  for  the  specific  task  of\ntesting  pamtosvg), but the main reason it is part of Netpbm is to provide a base for someone\nto create a full SVG to Netpbm converter.\n\nSVG is a vector image format, which means it describes curves that compose an image.  By con‐\ntrast, PNM is a raster format, which means it describes dots that compose an image.  The main\npractical difference between the two types is that you can scale  vector  images  better.   A\nvector image also takes a lot less data to describe an image if the image is composed of sim‐\nple curves.\n\nThat  means it is really an understatement to say that svgtopam is an image format converter.\nIt's really an image drawer, not unlike ppmdraw.\n\nFor more information on SVG, see \u001b]8;;http://www.w3.org/Graphics/SVG/\u001b\\the Worldwide Web Consortium's SVG web page\u001b]8;;\u001b\\ .\n\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "In addition to the options common to all programs based on libnetpbm  (most  notably  -quiet,\nsee \u001b]8;;index.html#commonoptions\u001b\\ Common Options\u001b]8;;\u001b\\ ), svgtopam recognizes the following command line option:\n\n\n\n",
            "subsections": [
                {
                    "name": "-trace",
                    "content": ""
                }
            ]
        },
        "SEE ALSO": {
            "content": "pamtosvg(1), pam(1),\n\n",
            "subsections": []
        },
        "HISTORY": {
            "content": "svgtopam was added to Netpbm in Version 10.34 (May 2006).\n\nBryan Henderson created svgtopam to test pamtosvg.\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/svgtopam.html\n\nnetpbm documentation                        28 June 2017                     Svgtopam User Manual(1)",
            "subsections": []
        }
    },
    "summary": "svgtopam - convert an SVG (Scalable Vector Graphics) image to Netpbm format",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "pamtosvg",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pamtosvg/1/json"
        },
        {
            "name": "pam",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pam/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Convert an SVG file to Netpbm format.",
        "examples": [
            {
                "description": "Convert an SVG file to Netpbm format",
                "command": "svgtopam {{path/to/file.svg}} > {{path/to/output.pam}}"
            },
            {
                "description": "Emit textual output describing the input image",
                "command": "svgtopam {{-t|-trace}} {{path/to/file.svg}}"
            }
        ]
    }
}