Debian Codegraph @

userguide/svgtopam.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
2 <html><head><title>Svgtopam User Manual</title></head>
3 <body>
4 <h1>svgtopam</h1>
5 Updated: 28 June 2017
6 <br>
7 <a href="#index">Table Of Contents</a>
8
9 <h2>NAME</h2>
10 svgtopam - convert an SVG (Scalable Vector Graphics) image to Netpbm format
11
12 <h2 id="synopsis">SYNOPSIS</h2>
13
14 <b>svgtopam</b>
15 [<b>-trace</b>]
16 [<i>pnmfile</i>]
17
18 <p>Minimum unique abbreviation of option is acceptable. You may use
19 double hyphens instead of single hyphen to denote options. You may use
20 white space in place of the equals sign to separate an option name
21 from its value.
22
23 <h2 id="description">DESCRIPTION</h2>
24
25 <p>This program is part of <a href="index.html">Netpbm</a>.
26
27 <p><b>svgtopam</b> reads an SVG (Scalable Vector Graphics) image as input and
28 produces a PAM image as output.
29
30 <p><b>svgtopam</b> is so weak that it is probably not useful in general for
31 converting SVG images. It understands only &lt;path&gt; SVG elements which
32 use only the "M", "L", and "z" commands, and only those that use whole number
33 arguments. This is sufficient for converting most of what comes out of
34 <b>pamtosvg</b> (not by coincidence - the program was developed for the
35 specific task of testing <b>pamtosvg</b>), but the main reason it is part of
36 Netpbm is to provide a base for someone to create a full SVG to Netpbm
37 converter.
38
39 <p>SVG is a vector image format, which means it describes curves that
40 compose an image. By contrast, PNM is a raster format, which means it
41 describes dots that compose an image. The main practical difference
42 between the two types is that you can scale vector images better. A
43 vector image also takes a lot less data to describe an image if the
44 image is composed of simple curves.
45
46 <p>That means it is really an understatement to say that <b>svgtopam</b>
47 is an image format converter. It's really an image drawer, not unlike
48 <b>ppmdraw</b>.
49
50 <p>For more information on SVG, see <a
51 href="http://www.w3.org/Graphics/SVG/">the Worldwide Web Consortium's
52 SVG web page</a>.
53
54
55 <h2 id="options">OPTIONS</h2>
56
57 <p>In addition to the options common to all programs based on libnetpbm
58 (most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
59 Common Options</a>), <b>svgtopam</b> recognizes the following
60 command line option:
61
62 <dl compact>
63
64 <dt><b>-trace</b>
65
66 <dd>This option makes <b>svgtopam</b> issue messages describing the drawing.
67
68 </dl>
69
70
71 <h2 id="seealso">SEE ALSO</h2>
72
73 <b><a href="pamtosvg.html">pamtosvg</a></b>,
74 <a href="pam.html">pam</a>,
75
76 <h2 id="history">HISTORY</h2>
77
78 <p><b>svgtopam</b> was added to Netpbm in Version 10.34 (May 2006).
79
80 <p>Bryan Henderson created <b>svgtopam</b> to test <b>pamtosvg</b>.
81
82 <hr>
83 <h2 id="index">Table Of Contents</h2>
84 <ul>
85 <li><a href="#synopsis">SYNOPSIS</a>
86 <li><a href="#description">DESCRIPTION</a>
87 <li><a href="#options">OPTIONS</a>
88 <li><a href="#seealso">SEE ALSO</a>
89 <li><a href="#history">HISTORY</a>
90 </ul>
91 </body>
92 </html>