Class Svg2PdfConverter
java.lang.Object
de.xima.fc.transform.pdf.convert.img.Svg2PdfConverter
- All Implemented Interfaces:
IPdfConverter
Apache Batik based
IPdfConverter implementation for SVG images. The only supported conversion parameter is
PdfConversionParams.ParamNames.TARGET_PAGE_FORMAT (default is ETargetPageFormat.AUTO which means 'get
the page format from the size of the source image').- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconvert(InputStream is, OutputStream os, PdfConversionParams conversionParams) byte[]createIntermediateImage(InputStream svgSrcStream)
-
Constructor Details
-
Svg2PdfConverter
public Svg2PdfConverter()
-
-
Method Details
-
convert
- Specified by:
convertin interfaceIPdfConverter- Parameters:
is- the input stream providing the source dataos- the output stream for the resulting PDF dataconversionParams- parameters for the conversion
-
createIntermediateImage
-