Package org.mapfish.print
Class SvgUtil
- java.lang.Object
-
- org.mapfish.print.SvgUtil
-
public final class SvgUtil extends java.lang.Object
SVG Utilities.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.awt.image.BufferedImage
convertFromSvg(java.net.URI svgFile, int width, int height)
Renders an SVG image into aBufferedImage
.
-
-
-
Method Detail
-
convertFromSvg
public static java.awt.image.BufferedImage convertFromSvg(java.net.URI svgFile, int width, int height) throws org.apache.batik.transcoder.TranscoderException
Renders an SVG image into aBufferedImage
.- Parameters:
svgFile
- the svg filewidth
- the widthheight
- the height- Returns:
- a buffered image
- Throws:
org.apache.batik.transcoder.TranscoderException
-
-