10139N/A<!
DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
10139N/A<!
ENTITY suncopy "Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.">
10139N/A<
refmeta><
refentrytitle>rsvg</
refentrytitle><
manvolnum>1</
manvolnum>
10139N/A<
refmiscinfo class="date">7 Sep 2004</
refmiscinfo>
10139N/A<
refmiscinfo class="sectdesc">&man1;</
refmiscinfo>
10139N/A<
refmiscinfo class="software">&release;</
refmiscinfo>
10139N/A<
refmiscinfo class="arch">generic</
refmiscinfo>
10139N/A<
refmiscinfo class="copyright">&suncopy;</
refmiscinfo>
10139N/A<
indexterm><
primary>rsvg</
primary></
indexterm><
indexterm><
primary>convert
10139N/ASVG files into raster images</
primary></
indexterm>
10139N/A<
refnamediv id="rsvg-1-name"><
refname>rsvg</
refname><
refpurpose>convert SVG
10139N/Afiles into raster images</
refpurpose></
refnamediv>
10139N/A<
refsynopsisdiv id="rsvg-1-synp"><
title>&synp-tt;</
title>
10139N/A<
cmdsynopsis><
command>&cmd;</
command>
10139N/A<
arg choice="opt"><
option>-dpi-x=<
replaceable>number</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-dpi-y=<
replaceable>number</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-format png|jpeg</
option></
arg>
10139N/A<
arg choice="opt"><
option>-height=<
replaceable>integer</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-quality=<
replaceable>integer</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-version</
option></
arg>
10139N/A<
arg choice="opt"><
option>-width <
replaceable>integer</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-x-zoom <
replaceable>number</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-y-zoom <
replaceable>number</
replaceable></
option></
arg>
10139N/A<
arg choice="plain"><
option role="nodash"><
replaceable>
infile.svg</
replaceable></
option></
arg>
10139N/A<
refsect1 id="rsvg-1-desc"><
title>&desc-tt;</
title>
10139N/A<
para><
command>&cmd;</
command> converts SVG images into PNG and JPEG raster
10139N/A<
refsect1 id="rsvg-1-opts"><
title>&opts-tt;</
title>
10139N/A<
para>The following options are supported:</
para>
10139N/A<
variablelist termlength="medium">
10139N/A<
varlistentry><
term><
option>d</
option, <option>-dpi-x=<
replaceable>number</
replaceable></
option></
term>
10139N/A<
listitem><
para>Set the X resolution of the image in pixels per inch. The default value is 90dpi.</
para>
10139N/A<
varlistentry><
term><
option>p</
option, <option>-dpi-y=<
replaceable>number</
replaceable></
option></
term>
10139N/A<
listitem><
para>Set the Y resolution of the image in pixels per inch. The default value is 90dpi.</
para>
10139N/A<
varlistentry><
term><
option>f</
option>, <
option>-format png|jpeg</
option></
term>
10139N/A<
listitem><
para>Specify the output format for the converted image. The default value is <
literal>png</
literal>.</
para>
10139N/A<
varlistentry><
term><
option>h</
option>, <
option>-height=<
replaceable>integer</
replaceable></
option></
term>
10139N/A<
listitem><
para>Specify the height of the converted image. The default value is the height of the original image.</
para>
10139N/A<
varlistentry><
term><
option>h</
option>, <
option>-quality=<
replaceable>integer</
replaceable></
option></
term>
10139N/A<
listitem><
para>JPEG quality value</
para>
10139N/A<
varlistentry><
term><
option>v</
option, <option>-version</
option></
term><
listitem><
para>Display <
command>&cmd;</
command>
10139N/A<
varlistentry><
term><
option>w</
option>, <
option>-width <
replaceable>integer</
replaceable></
option></
term>
10139N/A<
listitem><
para>Specify the width of the converted image. The default value
10139N/Ais the width of the original image.</
para>
10139N/A<
varlistentry><
term><
option>x</
option>, <
option>-x-zoom <
replaceable>number</
replaceable></
option></
term>
10139N/A<
listitem><
para>X Zoom factor, as a percentage. The default value is 1.0.</
para>
10139N/A<
varlistentry><
term><
option>y</
option>, <
option>-y-zoom <
replaceable>number</
replaceable></
option></
term>
10139N/A<
listitem><
para>Y Zoom factor, as a percentage. The default value is 1.0.</
para>
10139N/A<
refsect1 id="rsvg-1-oper"><
title>&oper-tt;</
title>
10139N/A<
para>The following operands are supported:</
para>
10139N/A<
variablelist termlength="medium">
10139N/A<
varlistentry><
term><
option role="nodash"><
replaceable>
infile.svg</
replaceable></
option></
term>
10139N/A<
listitem><
para>The name of the input SVG file.</
para>
10139N/A<
varlistentry><
term><
option role="nodash"><
replaceable>
outfile.png</
replaceable></
option></
term>
10139N/A<
listitem><
para>The name of the converted PNG file.</
para>
10139N/A<
varlistentry><
term><
option role="nodash"><
replaceable>
outfile.jpeg</
replaceable></
option></
term>
11904N/A<
listitem><
para>The name of the converted JPEG file.</
para>
10139N/A<
refsect1 id="rsvg-1-exam"><
title>&exam-tt;</
title>
10139N/A<
title>Converting an SVG Image to PNG</
title>
10139N/A<
title>Converting an SVG Image to JPEG at 300dpi Resolution</
title>
10139N/A<
refsect1 id="rsvg-1-exit"><
title>&exit-tt;</
title>
10139N/A<
para>The following exit values are returned:</
para>
10139N/A<
variablelist termlength="xtranarrow">
10139N/A<
varlistentry><
term><
returnvalue>0</
returnvalue></
term><
listitem><
para>Application
10139N/A<
varlistentry><
term><
returnvalue>>0</
returnvalue></
term><
listitem><
para>Application
10139N/A<
refsect1 id="rsvg-1-file"><
title>&file-tt;</
title>
10139N/A<
para>The following files are used by this application:</
para>
10139N/A<
variablelist termlength="medium">
10139N/A<
varlistentry><
term><
filename>/
usr/
bin/&cmd;</
filename></
term><
listitem><
para>
10139N/AExecutable to convert SVG files into raster images</
para>
10139N/A<
refsect1 id="rsvg-1-attr"><
title>&attr-tt;</
title>
10139N/A<
para>See <
olink targetdocent="REFMAN5" localinfo="attributes-5"><
citerefentry>
10139N/A<
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry></
olink>
10139N/Afor descriptions of the following attributes:</
para>
10139N/A<
tgroup cols="2" colsep="1" rowsep="1"><
colspec colname="COLSPEC0" colwidth="1*">
10139N/A<
colspec colname="COLSPEC1" colwidth="1*">
10139N/A<
row><
entry align="center" valign="middle">ATTRIBUTE TYPE</
entry><
entry align="center" 10139N/Avalign="middle">ATTRIBUTE VALUE</
entry></
row>
10139N/A<
row><
entry colname="COLSPEC0"><
para>Interface stability</
para></
entry><
entry colname="COLSPEC1"><
para>Volatile</
para></
entry></
row>
10139N/A<
refsect1 id="rsvg-1-also"><
title>&also-tt;</
title>
10139N/A<!--Reference to another man page--> 10139N/A<!--Reference to a Help manual--> 11904N/A<
citerefentry><
refentrytitle>librsvg-2</
refentrytitle><
manvolnum>3</
manvolnum></
citerefentry>,
11904N/A<
citerefentry><
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry>
10139N/A<
refsect1 id="rsvg-1-note"><
title>¬e-tt;</
title>
10139N/A<
para>Original man page written by Dom Lachowicz (cinamod@hotmail.com), Alex
10139N/ALarsson (alex@redhat.com), and others.</
para>
10139N/A<
para>Updated by Laszlo Peter, Sun Microsystems Inc., 2004.</
para>