Provides access to SVG rendering engine. Existing Batik implementation API is based on using file system for rendered image storage. This package extends BATIK's ImageTranscoder in order to utilize java.awt.image.BufferedImage as output.

### Usage:

Instantiate SvgImage and call SvgImage::getAsBufferedImage to get rendered image.

#### Example:

>     	private static BufferedImage loadSVGImage(URL url, int width, int height,
>     			boolean scale, boolean withAspectRatio) {
>     		SvgImage image = null;
>     		try {
>     			image = new SvgImage(url.toString(), (String) null);
>     		} catch (Exception e) {
>     			e.printStackTrace();
>     		}

>     		try {
>     			if (withAspectRatio) {
>     				width = height = Math.min(width, height);
>     			}
>     			if (!scale) {
>     				image.setSize(width, height);
>     			}
>     			if (scale && withAspectRatio) {
>     				image.setScalingMode("PRESERVE_ASPECT_RATIO_CROP_EXCEEDING");
>     			}
>     		} catch (NullPointerException e) {
>     			e.printStackTrace();
>     		}
>     		return image.getAsBufferedImage();
>     	}

### Dependency:

AWT, BATIK

#### JDK Complience:

JDK 5.0.

#### Required libraries:

org.apache.batik, org.apache.batik.apps.rasterizer, org.apache.batik.apps.slideshow, org.apache.batik.apps.svgbrowser, org.apache.batik.apps.svgpp, org.apache.batik.apps.ttf2svg, org.apache.batik.bridge, org.apache.batik.bridge.svg12, org.apache.batik.css.dom, org.apache.batik.css.engine, org.apache.batik.css.engine.sac, org.apache.batik.css.engine.value, org.apache.batik.css.engine.value.css2, org.apache.batik.css.engine.value.svg, org.apache.batik.css.engine.value.svg12, org.apache.batik.css.parser, org.apache.batik.dom, org.apache.batik.dom.events, org.apache.batik.dom.svg, org.apache.batik.dom.svg12, org.apache.batik.dom.traversal, org.apache.batik.dom.util, org.apache.batik.ext.awt, org.apache.batik.ext.awt.color, org.apache.batik.ext.awt.font, org.apache.batik.ext.awt.g2d, org.apache.batik.ext.awt.geom, org.apache.batik.ext.awt.image, org.apache.batik.ext.awt.image.codec, org.apache.batik.ext.awt.image.codec.tiff, org.apache.batik.ext.awt.image.renderable, org.apache.batik.ext.awt.image.rendered, org.apache.batik.ext.awt.image.spi, org.apache.batik.ext.swing, org.apache.batik.extension, org.apache.batik.extension.svg, org.apache.batik.gvt, org.apache.batik.gvt.event, org.apache.batik.gvt.filter, org.apache.batik.gvt.flow, org.apache.batik.gvt.font, org.apache.batik.gvt.renderer, org.apache.batik.gvt.svg12, org.apache.batik.gvt.text, org.apache.batik.i18n, org.apache.batik.parser, org.apache.batik.script, org.apache.batik.script.rhino, org.apache.batik.svggen, org.apache.batik.svggen.font, org.apache.batik.svggen.font.table, org.apache.batik.swing, org.apache.batik.swing.gvt, org.apache.batik.swing.svg, org.apache.batik.transcoder, org.apache.batik.transcoder.image, org.apache.batik.transcoder.image.resources, org.apache.batik.transcoder.keys, org.apache.batik.transcoder.print, org.apache.batik.transcoder.svg2svg, org.apache.batik.transcoder.wmf, org.apache.batik.transcoder.wmf.tosvg, org.apache.batik.util, org.apache.batik.util.gui, org.apache.batik.util.gui.resource, org.apache.batik.util.io, org.apache.batik.util.resources, org.apache.batik.xml