Svgtopam User Manual

Svgtopam User Manual



svgtopam - convert an SVG (Scalable Vector Graphics) image to Netpbm format


svgtopam [-trace] [pnmfile]

Minimum unique abbreviation of option is acceptable. You may use double hyphens instead of single hyphen to denote options. You may use white space in place of the equals sign to separate an option name from its value.


This program is part of Netpbm(1)

svgtopam reads an SVG (Scalable Vector Graphics) image as input and produces a PAM image as output.

svgtopam is so weak that it is probably not useful in general for converting SVG images. It understands only <path> SVG elements which use only the ’M’, ’L’, and ’z’ commands. This is sufficient for converting anything that comes out of pamtosvg (not by coincidence - the program was developed for the specific task of testing pamtosvg), but the main reason it is part of Netpbm is to provide a base for someone to create a full SVG to Netpbm converter.

SVG is a vector image format, which means it describes curves that compose an image. By contrast, PNM is a raster format, which means it describes dots that compose an image. The main practical difference between the two types is that you can scale vector images better. A vector image also takes a lot less data to describe an image if the image is composed of simple curves.

That means it is really an understatement to say that svgtopam is an image format converter. It’s really an image drawer, not unlike ppmdraw.

For more information on SVG, see ("") the Worldwide Web Consortium’s SVG web page .



This option makes svgtopam issue messages describing the drawing.


pamtosvg(1) , pam(5) ,


svgtopam was added to Netpbm in Version 10.34 (May 2006).

Bryan Henderson created svgtopam to test pamtosvg.

More Linux Commands

pnmtoy4m(1) - Convert PNM/PAM images to YUV4MPEG2 stream....
pnmtoy4m converts one or more raw PPM, PGM, PBM, or PAM images into a YUV4MPEG2 stream ready for further processing by other video tools. These three (or four)

mvwins_nwstr(3ncurses) - insert a wide-character string into
These routines insert a wchar_t character string (as many characters as will fit on the line) before the character under the cursor. All characters to the right

authnone_create(3) - library routines for remote procedure c
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s

getcury(3ncurses) - get curses cursor and window coordinates
The getbegy and getbegx functions return the same data as getbegyx. The getcury and getcurx functions return the same data as getyx. The getmaxy and getmaxx fun

request-key.conf(5) - Instantiation handler configuration fi
This file and its associated key-type specific variants are used by the /sbin/request-key program to determine which program it should run to instantiate a key.

XGetDeviceModifierMapping(3) - query or change device modifi
The XSetDeviceModifierMapping request specifies the KeyCodes of the keys (if any) that are to be used as modifiers for the specified device. If it succeeds, the

pic2graph(1) - convert a PIC diagram into a cropped image...
Reads a PIC program as input; produces an image file (by default in Portable Network Graphics format) suitable for the Web as output. Also translates eqn(1) con

xsubpp(1) - compiler to convert Perl XS code into C code....
This compiler is typically run by the makefiles created by ExtUtils::MakeMaker or by Module::Build or other Perl module build tools. xsubpp will compile XS code

attr_multif(3) - manipulate multiple user attributes on a fi
The attr_multi and attr_multif functions provide a way to operate on multiple attributes of a filesystem object at once. Path points to a path name for a filesy

xdr(3) - library routines for external data representation
These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using

glColor3ubv(3gl) - set the current color - Linux man page...
The GL stores both a current single-valued color index and a current four-valued RGBA color. glColor sets a new four-valued RGBA color. glColor has two major va

XCirculateEvent(3) - CirculateNotify event structure........
The structure for CirculateNotify events contains: typedef struct { int type; /* CirculateNotify */ unsigned long serial; /* # of last request processed by serv

We can't live, work or learn in freedom unless the software we use is free.