Package org.mapfish.print
Class SvgUtil
java.lang.Object
org.mapfish.print.SvgUtil
SVG Utilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedImageconvertFromSvg(URI svgFile, int width, int height) Renders an SVG image into aBufferedImage.
-
Method Details
-
convertFromSvg
public static BufferedImage convertFromSvg(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
-