.\" Man page for rasterizer, based on the output of help2man .\" .\" Copyright 2007 by Vincent Fourmond .\" .\" You may distribute, copy and modify this manual page under the same .\" terms as batik itself. .\" .TH RASTERIZER "1" "January 2008" "SVG conversion" "User Commands" .SH NAME rasterizer \- SVG conversion .SH SYNOPSIS .B rasterizer .I [options] files .SH DESCRIPTION Rasterizer is a program to convert SVG files to various formats, namely PNG, JPEG and PDF. .SH OPTIONS .TP \fB\-d\fR .IP output directory. If there is a single input file, this can be a file. .TP \fB\-m\fR .IP output mime type. Should be one of .IR image/jpg , .IR image/jpeg , .IR image/jpe , .IR image/png , .I image/tiff or .IR application/pdf . .TP \fB\-w\fR .IP output width. This is a floating point value. .TP \fB\-h\fR .IP output height. This is a floating point value. .TP \fB\-maxw\fR .IP Maximum output width. This is a floating point value. .TP \fB\-maxh\fR .IP Maximum output height. This is a floating point value. .TP \fB\-a\fR .IP output area. The format for is x,y,w,h, where x, y, w and h are floating point values. .TP \fB\-bg\fR .IP output color. The format for is a.r.g.b, where a, r, g and b are integer values. .TP \fB\-cssMedia\fR .IP CSS media type for which the source SVG files should be converted. .TP \fB\-cssAlternate\fR .IP CSS alternate stylesheet to use when converting the source SVG files. .TP \fB\-cssUser\fR .IP CSS user stylesheet URI to apply to converted SVG documents in addition to any other referened or embeded stylesheets. .TP \fB\-font\-family\fR .IP Value used as a default when no font\-family value is specified. .TP \fB\-lang\fR .IP User language to use when converting SVG documents. .TP \fB\-q\fR .IP Quality for the output image. This is only relevant for the image/jpeg mime type. .TP \fB\-indexed\fR (1|2|4|8) .IP Reduces the image to given number of bits per pixel using an adaptive pallete, resulting in an Indexed image. This is currently only supported for PNG conversion. .TP \fB\-dpi\fR .IP Resolution for the ouptut image. .TP \fB\-validate\fR .IP Controls whether the source SVG files should be validated. .TP \fB\-onload\fR .IP Controls if the source SVG files must be rasterize after dispatching the 'onload' event. .TP \fB\-scriptSecurityOff\fR removes any security check on the scripts running .IP as a result of dispatching the onload event. .TP \fB\-anyScriptOrigin\fR controls whether scripts can be loaded from .IP any location. By default, scripts can only be loaded from .IP the same location as the document referencing them. .TP \fB\-scripts\fR List of script types (i.e., .IP values for the type attribute in the