xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r887150 - in /websites/staging/xmlgraphics/trunk/content: ./ batik/tools/rasterizer.html
Date Mon, 18 Nov 2013 22:44:08 GMT
Author: buildbot
Date: Mon Nov 18 22:44:08 2013
New Revision: 887150

Log:
Staging update by buildbot for xmlgraphics

Modified:
    websites/staging/xmlgraphics/trunk/content/   (props changed)
    websites/staging/xmlgraphics/trunk/content/batik/tools/rasterizer.html

Propchange: websites/staging/xmlgraphics/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Nov 18 22:44:08 2013
@@ -1 +1 @@
-1543210
+1543211

Modified: websites/staging/xmlgraphics/trunk/content/batik/tools/rasterizer.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/batik/tools/rasterizer.html (original)
+++ websites/staging/xmlgraphics/trunk/content/batik/tools/rasterizer.html Mon Nov 18 22:44:08
2013
@@ -178,28 +178,28 @@ $(document).ready(function () {
       	<div class="section-content"><h1 id="svg-rasterizer">SVG Rasterizer</h1>
 <p>This page describes the features of the SVG Rasterizer utility that comes with the
Batik distribution. The SVG Rasterizer is a utility that can convert SVG files to a raster
format. The tool can convert individual files or sets of files, making it easy to convert
entire directories of SVG files. The provided formats are <abbr title="Joint Photography
Expert Group">JPEG</abbr>, <abbr title="Portable Network Graphics">PNG</abbr>
and <abbr title="Tagged Image File Format">TIFF</abbr>, however the design allows
new formats to be added easily. In addition, the rasterizer can (despite its name) transcode
to <abbr title="Portable Document Format">PDF</abbr>.</p>
 <h2 id="downloading">Downloading the rasterizer</h2>
-<p>Refer to the <a href="../install.html">install page</a> and the <a
href="../download.cgi">download area</a> to find out what to download and how to
install it. Remember that you can get either the source or binary distribution.</p>
+<p>Refer to the <a href="../install.html">install page</a> and the <a
href="/batik/download.html">download area</a> to find out what to download and how
to install it. Remember that you can get either the source or binary distribution.</p>
 <h2 id="using">Rasterizing one or several SVG files</h2>
 <p>The method for starting the rasterizer depends on the distribution of Batik that
you chose to download. The following describes how to start the viewer for each distribution.</p>
 <h3 id="using-binary">Using the binary distribution</h3>
 <p>If you downloaded the binary distribution of Batik, you should have a file called
<code>batik-1.6.zip</code> (or similar), and, after expanding that file, a jar
file called <code>batik-rasterizer.jar</code>. To start the rasterizer, open a
console, go to the directory where you expanded the distribution (and where <code>batik-rasterizer.jar</code>
is located) and simply type the following at the command prompt:</p>
-<div class="codehilite"><pre><span class="n">java</span> <span
class="o">-</span><span class="n">jar</span> <span class="n">batik</span><span
class="o">-</span><span class="n">rasterizer</span><span class="o">.</span><span
class="n">jar</span> <span class="n">FILES</span>
+<div class="codehilite"><pre><span class="n">java</span> <span
class="o">-</span><span class="n">jar</span> <span class="n">batik</span><span
class="o">-</span><span class="n">rasterizer</span><span class="p">.</span><span
class="n">jar</span> <span class="n">FILES</span>
 </pre></div>
 
 
 <p>For example, if you type:</p>
-<div class="codehilite"><pre><span class="n">java</span> <span
class="o">-</span><span class="n">jar</span> <span class="n">batik</span><span
class="o">-</span><span class="n">rasterizer</span><span class="o">.</span><span
class="n">jar</span> <span class="n">samples</span><span class="o">/</span><span
class="n">batikFX</span><span class="o">.</span><span class="n">svg</span>
+<div class="codehilite"><pre><span class="n">java</span> <span
class="o">-</span><span class="n">jar</span> <span class="n">batik</span><span
class="o">-</span><span class="n">rasterizer</span><span class="p">.</span><span
class="n">jar</span> <span class="n">samples</span><span class="o">/</span><span
class="n">batikFX</span><span class="p">.</span><span class="n">svg</span>
 </pre></div>
 
 
 <p>you will see the following printout:</p>
-<div class="codehilite"><pre><span class="n">Converting</span> <span
class="n">file:</span> <span class="n">samples</span><span class="sr">/BatikFX.svg
to samples/</span><span class="n">BatikFX</span><span class="o">.</span><span
class="n">png</span>
+<div class="codehilite"><pre><span class="n">Converting</span> <span
class="n">file</span><span class="p">:</span> <span class="n">samples</span><span
class="o">/</span><span class="n">BatikFX</span><span class="p">.</span><span
class="n">svg</span> <span class="n">to</span> <span class="n">samples</span><span
class="o">/</span><span class="n">BatikFX</span><span class="p">.</span><span
class="n">png</span>
 </pre></div>
 
 
 <p>Once the conversion is complete, you will find a <code>batikFX.png</code>
file in the samples directory.</p>
 <p>You can pass options on the command line:</p>
-<div class="codehilite"><pre><span class="n">java</span> <span
class="o">-</span><span class="n">jar</span> <span class="n">batik</span><span
class="o">-</span><span class="n">rasterizer</span><span class="o">.</span><span
class="n">jar</span> <span class="p">[</span><span class="n">OPTIONS</span><span
class="p">]</span> <span class="n">FILES</span>
+<div class="codehilite"><pre><span class="n">java</span> <span
class="o">-</span><span class="n">jar</span> <span class="n">batik</span><span
class="o">-</span><span class="n">rasterizer</span><span class="p">.</span><span
class="n">jar</span> <span class="p">[</span><span class="n">OPTIONS</span><span
class="p">]</span> <span class="n">FILES</span>
 </pre></div>
 
 
@@ -271,7 +271,7 @@ specifies that scripts can be loaded fro
 :
 specifies a list of script types (i.e., values for the <code>type</code> attribute
on <code>script</code> elements) that should be loaded.</p>
 <p>For example:</p>
-<div class="codehilite"><pre><span class="n">java</span> <span
class="o">-</span><span class="n">jar</span> <span class="n">batik</span><span
class="o">-</span><span class="n">rasterizer</span><span class="o">.</span><span
class="n">jar</span> <span class="o">-</span><span class="n">d</span>
<span class="n">myDir</span> <span class="o">-</span><span class="n">m</span>
<span class="n">image</span><span class="sr">/jpeg samples/</span><span
class="o">*.</span><span class="n">svg</span>
+<div class="codehilite"><pre><span class="n">java</span> <span
class="o">-</span><span class="n">jar</span> <span class="n">batik</span><span
class="o">-</span><span class="n">rasterizer</span><span class="p">.</span><span
class="n">jar</span> <span class="o">-</span><span class="n">d</span>
<span class="n">myDir</span> <span class="o">-</span><span class="n">m</span>
<span class="n">image</span><span class="o">/</span><span class="n">jpeg</span>
<span class="n">samples</span><span class="o">/*</span><span class="p">.</span><span
class="n">svg</span>
 </pre></div>
 
 
@@ -294,7 +294,7 @@ For windows, type the following at the c
 
 
 <p>and for Unix:</p>
-<div class="codehilite"><pre><span class="o">./</span><span class="n">build</span><span
class="o">.</span><span class="n">sh</span> <span class="n">svgrasterizer</span>
+<div class="codehilite"><pre><span class="o">./</span><span class="n">build</span><span
class="p">.</span><span class="n">sh</span> <span class="n">svgrasterizer</span>
 </pre></div>
 
 
@@ -305,7 +305,7 @@ For windows, type the following at the c
 
 
 <p>and for Unix:</p>
-<div class="codehilite"><pre><span class="o">./</span><span class="n">build</span><span
class="o">.</span><span class="n">sh</span> <span class="n">svgrasterizer</span>
<span class="p">[</span><span class="n">OPTIONS</span><span class="p">]</span>
<span class="n">FILES</span>
+<div class="codehilite"><pre><span class="o">./</span><span class="n">build</span><span
class="p">.</span><span class="n">sh</span> <span class="n">svgrasterizer</span>
<span class="p">[</span><span class="n">OPTIONS</span><span class="p">]</span>
<span class="n">FILES</span>
 </pre></div>
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org


Mime
View raw message