1Svgtopam User Manual(0) Svgtopam User Manual(0)
2
3
4
6 svgtopam - convert an SVG (Scalable Vector Graphics) image to Netpbm
7 format
8
9
11 svgtopam [-trace] [pnmfile]
12
13 Minimum unique abbreviation of option is acceptable. You may use dou‐
14 ble hyphens instead of single hyphen to denote options. You may use
15 white space in place of the equals sign to separate an option name from
16 its value.
17
18
20 This program is part of Netpbm(1).
21
22 svgtopam reads an SVG (Scalable Vector Graphics) image as input and
23 produces a PAM image as output.
24
25 svgtopam is so weak that it is probably not useful in general for con‐
26 verting SVG images. It understands only <path> SVG elements which use
27 only the "M", "L", and "z" commands, and only those that use whole num‐
28 ber arguments. This is sufficient for converting most of what comes
29 out of pamtosvg (not by coincidence - the program was developed for the
30 specific task of testing pamtosvg), but the main reason it is part of
31 Netpbm is to provide a base for someone to create a full SVG to Netpbm
32 converter.
33
34 SVG is a vector image format, which means it describes curves that com‐
35 pose an image. By contrast, PNM is a raster format, which means it
36 describes dots that compose an image. The main practical difference
37 between the two types is that you can scale vector images better. A
38 vector image also takes a lot less data to describe an image if the
39 image is composed of simple curves.
40
41 That means it is really an understatement to say that svgtopam is an
42 image format converter. It's really an image drawer, not unlike ppm‐
43 draw.
44
45 For more information on SVG, see the Worldwide Web Consortium's SVG web
46 page ⟨http://www.w3.org/Graphics/SVG/⟩ .
47
48
49
51 -trace This option makes svgtopam issue messages describing the draw‐
52 ing.
53
54
55
56
57
59 pamtosvg(1), pam(1),
60
61
63 svgtopam was added to Netpbm in Version 10.34 (May 2006).
64
65 Bryan Henderson created svgtopam to test pamtosvg.
66
68 This manual page was generated by the Netpbm tool 'makeman' from HTML
69 source. The master documentation is at
70
71 http://netpbm.sourceforge.net/doc/svgtopam.html
72
73netpbm documentation 28 June 2017 Svgtopam User Manual(0)