rsvg-convert.1 2.07 KB
Newer Older
1
.TH rsvg-convert 1
2
.SH NAME
3
rsvg-convert \- turn SVG files into raster images.
4
.SH SYNOPSIS
5 6
.B rsvg-convert
[options] in.svg > out.png
7 8
.I ""
.SH DESCRIPTION
9
Converts SVG images into PNG raster images, PDF, PS, or SVG vector images, or dumps of Cairo XML or recording surfaces.
10 11
.SS OPTIONS
.TP
12
.I "\-d \-\-dpi-x number"
13
Set the X resolution of the image in pixels per inch. RSVG's current default is 90dpi
14 15
.TP
.I "\-p \-\-dpi-y number"
16
Set the Y resolution of the image in pixels per inch. RSVG's current default is 90dpi
17 18
.TP
.I "\-x \-\-x\-zoom number"
19
X Zoom factor, as a percentage. If unspecified, 1.0 is used as the default.
20 21
.TP
.I "\-y \-\-y\-zoom number"
22
Y Zoom factor, as a percentage. If unspecified, 1.0 is used as the default.
23
.TP
24 25 26
.I "\-z \-\-\-zoom number"
Zoom factor, as a percentage. If unspecified, 1.0 is used as the default.
.TP
27
.I "\-w \-\-width integer"
28
Specify how wide you wish the image to be. If unspecified, the natural width of the image is used as the default.
29 30
.TP
.I "\-h \-\-height integer"
31
Specify how tall you wish the image to be. If unspecified, the natural height of the image is used as the default.
32
.TP
33
.I "\-f \-\-format [png, pdf, ps, svg, xml, recording]"
34
Specify the output format you wish the image to be saved in. If unspecified, PNG is used as the default.
35
.TP
36 37 38 39 40 41 42 43 44 45 46
.I "\-o \-\-output filename"
Specify the output filename. If unspecified, outputs to stdout.
.TP
.I "\-a \-\-keep-aspect-ratio"
Specify that the aspect ratio is to be preserved. If unspecified, aspect ratio will not be preserved.
.TP
.I "\-b \-\-background-color [black, white, #abccee, #aaa...]"
Specify the background color. If unspecified, none is used as the default.
.TP
.I "\-\-base-uri uri"
Specify the base URI for SVG files. If unspecified, none is used as the default.
47
.TP
48
.I "\-v \-\-version"
49
Display what version of rsvg this is.
50
.SH MORE INFORMATION
51
https://wiki.gnome.org/Projects/LibRsvg
52
http://www.w3.org/TR/SVG11/
53
http://www.gnome.org/
54
.SH "AUTHORS"
55
Dom Lachowicz (cinamod@hotmail.com), Caleb Moore (c.moore@student.unsw.edu.au), Federico Mena-Quintero (federico@gnome.org), and a host of others.