MAN Solaris - rsvg (1)

advertisement


NAME

rsvg - convert SVG files into raster images

CONTENTS

SYNOPSIS

rsvg [--dpi-x=number] [--dpi-y=number] [--format png|jpeg] [--height=integer] [--quality=integer] [--version] [--width integer] [--x-zoom number] [--y-zoom number] infile.svg outfile.png | outfile.jpeg

advertisements

advertisements


DESCRIPTION

rsvg converts SVG images into PNG and JPEG raster images.

OPTIONS

The following options are supported:

-d --dpi-x=number Set the X resolution of the image in pixels per inch. The default value is 90dpi.

-p --dpi-y=number Set the Y resolution of the image in pixels per inch. The default value is 90dpi.

-f, --format png|jpeg Specify the output format for the converted image. The default value is png.

-h, --height=integer Specify the height of the converted image. The default value is the height of the original image.

-h, --quality=integer JPEG quality value

-v --version Display rsvg version information.

-w, --width integer Specify the width of the converted image. The default value is the width of the original image.

-x, --x-zoom number X Zoom factor, as a percentage. The default value is 1.0.

-y, --y-zoom number Y Zoom factor, as a percentage. The default value is 1.0.

OPERANDS

The following operands are supported:

infile.svg The name of the input SVG file.

outfile.png The name of the converted PNG file.

outfile.jpeg The name of the converted JPEG file.

EXAMPLES

Example 1: Converting an SVG Image to PNG

example% rsvg myfile.svg myfile.png

Example 2: Converting an SVG Image to JPEG at 300dpi Resolution

example% rsvg -f jpeg -d 300 myfile.svg myfile.jpg

EXIT STATUS

The following exit values are returned:

0 Application exited successfully

>0 Application exited with failure

FILES

The following files are used by this application:

/usr/bin/rsvg Executable to convert SVG files into raster images

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWlibrsvg
Interface stabilityVolatile

SEE ALSO

http://librsvg.sourceforge.net/

http://www.w3.org/TR/SVG11/

librsvg-2(3)

NOTES

Original man page written by Dom Lachowicz ([email protected].com), Alex Larsson ([email protected].com), and others.

Updated by Laszlo Peter, Sun Microsystems Inc., 2004.

Jump to page    or go to Top of page |  Section 1 |  Main Solaris Index.


SunOS 5.11 rsvg (1) 7 Sep 2004
Generated by Open Solaris Forum from /usr/share/man/man1/rsvg.1 using man macros with tbl support.