File: rendersvg.pod

package info (click to toggle)
resvg 0.8.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,924 kB
  • sloc: cpp: 2,398; python: 107; makefile: 81; ansic: 76; sh: 15
file content (117 lines) | stat: -rw-r--r-- 1,967 bytes parent folder | download
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
=head1 NAME

rendersvg - an SVG rendering application

=head1 SYNOPSIS

B<rendersvg> [I<OPTIONS>] I<in.svg> I<out.png>

B<rendersvg> I<in.svg> I<out.png>

B<rendersvg> B<-z> I<4> I<in.svg> I<out.png>

B<rendersvg> B<--query-all> I<in.svg>

=head1 OPTIONS

A summary of options is included below.

=over

=item B<--h>, B<--help>

Prints help information

=item B<-V>, B<--version>

Prints version information

=item B<--backend> I<BACKEND>

Sets the rendering backend.

Has no effect if built with only one backend [default: cairo] [possible values: cairo, qt]

=item B<-w> I<LENGTH>, B<--width> I<LENGTH>

Sets the width in pixels

=item B<-h> I<LENGTH>, B<--height> I<LENGTH>

Sets the height in pixels

=item B<-z> I<FACTOR>, B<--zoom> I<FACTOR>

Zooms the image by a factor

=item B<--dpi> I<DPI>

Sets the resolution [default: 96] [possible values: 10..4000]

=item B<--background> I<COLOR>

Sets the background color.

Examples: red, #fff, #fff000

=item B<--font-family> I<FAMILY>

Sets the default font family [default: 'Times New Roman']

=item B<--font-size> I<SIZE>

Sets the default font size [default: 12] [possible values: 1..192]

=item B<--languages> I<LANG>

Sets a comma-separated list of languages that will be used during the 'systemLanguage' attribute resolving.

Examples: 'en-US', 'en-US, ru-RU', 'en, ru' [default: 'en']

=item B<--query-all>

Queries all valid SVG ids with bounding boxes

=item B<--export-id> I<ID>

Renders an object only with a specified ID

=item B<--perf>

Prints performance stats

=item B<--pretend>

Does all the steps except rendering

=item B<--quiet>

Disables warnings

=item B<--dump-svg>=I<PATH>

Saves the preprocessed SVG to the selected file

=back

=head1 ARGS

=over

=item I<in.svg>

Input file

=item I<out.png>

Output file

=back

=head1 SEE ALSO

L<usvg(1)>

=head1 AUTHOR

This manual page was written by Andrej Shadura L<< <andrewsh@debian.org> >> for the Debian project (but may be used by others).