summaryrefslogtreecommitdiff
blob: f4b9a00112502575dcbe7426077661cdf2aae322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
From 3b246c8cf907b0f2ed491b4fe452bb7f3ee55cfc Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Sun, 8 Apr 2012 14:18:24 -0400
Subject: [PATCH] Rename rsvg.1 to rsvg-convert.1 and update for
 rsvg-convert's options

https://bugzilla.gnome.org/show_bug.cgi?id=673748
---
 Makefile.am              |    4 +---
 rsvg-convert.1           |   28 ++++++++++++++++++++--------
 2 files changed, 21 insertions(+), 11 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 8e2732b..1adb278 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -105,9 +105,7 @@ librsvginc_HEADERS = 	\
 	librsvg-features.h \
 	librsvg-enum-types.h
 
-if HAVE_GTK_2
-dist_man_MANS = rsvg.1
-endif
+dist_man_MANS = rsvg-convert.1
 
 rsvg_convert_SOURCES = \
 	rsvg-convert.c \
diff --git a/rsvg-convert.1 b/rsvg-convert.1
index 51a478d..6af32fd 100644
--- a/rsvg.1
+++ b/rsvg-convert.1
@@ -1,12 +1,12 @@
-.TH rsvg 1
+.TH rsvg-convert 1
 .SH NAME
-rsvg \- Turn SVG files into raster images.
+rsvg-convert \- turn SVG files into raster images.
 .SH SYNOPSIS
-.B rsvg
-[options] in.svg out.png
+.B rsvg-convert
+[options] in.svg > out.png
 .I ""
 .SH DESCRIPTION
-RSVG converts SVG images into PNG, JPEG, and ICO raster images.
+Converts SVG images into PNG raster images, PDF, PS, or SVG vector images, or dumps of Cairo XML or recording surfaces.
 .SS OPTIONS
 .TP
 .I "\-d \-\-dpi-x number"
@@ -21,17 +21,29 @@ X Zoom factor, as a percentage. If unspecified, 1.0 is used as the default.
 .I "\-y \-\-y\-zoom number"
 Y Zoom factor, as a percentage. If unspecified, 1.0 is used as the default.
 .TP
+.I "\-z \-\-\-zoom number"
+Zoom factor, as a percentage. If unspecified, 1.0 is used as the default.
+.TP
 .I "\-w \-\-width integer"
 Specify how wide you wish the image to be. If unspecified, the natural width of the image is used as the default.
 .TP
 .I "\-h \-\-height integer"
 Specify how tall you wish the image to be. If unspecified, the natural height of the image is used as the default.
 .TP
-.I "\-f \-\-format [png, jpeg, ico]"
+.I "\-f \-\-format [png, pdf, ps, svg, xml, recording]"
 Specify the output format you wish the image to be saved in. If unspecified, PNG is used as the default.
 .TP
-.I "\-q \-\-quality integer"
-Specify JPEG compression factor. Number must be between 1 and 100, inclusive.
+.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.
 .TP
 .I "\-v \-\-version"
 Display what version of rsvg this is.
-- 
1.7.8.5