Class Image2PdfConverter
- java.lang.Object
-
- de.xima.fc.transform.pdf.convert.img.Image2PdfConverter
-
- All Implemented Interfaces:
IPdfConverter
public class Image2PdfConverter extends Object implements IPdfConverter
IPdfConverterimplementation for common raster image formats, using Apache PDFBox. The only supported conversion parameter isTARGET_PAGE_FORMAT, and it means 'get the page format from the size of the source image'. The default isAUTO.An image file that holds more than one image - the pages of a TIFF, the frames of an animated GIF - is converted to one PDF page per image.
- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description Image2PdfConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconvert(InputStream is, OutputStream os, PdfConversionParams conversionParams)
-
-
-
Method Detail
-
convert
public void convert(InputStream is, OutputStream os, PdfConversionParams conversionParams)
- 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
-
-