jhplot.io.images
Class ConvertSVG
- java.lang.Object
-
- jhplot.io.images.ConvertSVG
-
public class ConvertSVG extends java.lang.Object
Convert a SVG file into a number of formats, such as SVGZ, PDF, EPS, PS.
-
-
Constructor Summary
Constructors Constructor and Description ConvertSVG()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
SVGTo(java.lang.String in, java.lang.String out)
Convert a SVG to EPS, PS, SVGZ or PDF.static void
SVGTo(java.lang.String in, java.lang.String out, boolean isSourceRemove)
Convert a SVG to EPS, PS, SVGZ or PDF.
-
-
-
Method Detail
-
SVGTo
public static void SVGTo(java.lang.String in, java.lang.String out, boolean isSourceRemove)
Convert a SVG to EPS, PS, SVGZ or PDF. The file type is given by extension. SVGZ is compressed SVG image (using gzip compression) Supported output:
JPEG
PNG
PS
EPS
PDF
SVGZ- Parameters:
in
- Input file in SVG formatout
- Output file in designed format.isSourceRemove
- true if source is removed.
-
SVGTo
public static void SVGTo(java.lang.String in, java.lang.String out)
Convert a SVG to EPS, PS, SVGZ or PDF. The file type is given by extension. SVGZ is compressed SVG image (using gzip compression). The original source is kept. Supported output:
JPEG
PNG
PS
EPS
PDF
SVGZ- Parameters:
in
- Input file in SVG formatout
- Output file in designed format.
-
-
DMelt 3.0 © DataMelt by jWork.ORG