Class Webp2PdfConverter
- java.lang.Object
-
- de.xima.fc.transform.pdf.convert.img.Webp2PdfConverter
-
- All Implemented Interfaces:
IPdfConverter
public class Webp2PdfConverter extends Object implements IPdfConverter
IPdfConverterimplementation for WebP images. The only supported conversion parameter isPdfConversionParams.ParamNames.TARGET_PAGE_FORMAT(default isETargetPageFormat.AUTOwhich means 'get the page format from the size of the source image').An animated WebP is converted to one PDF page per frame of the animation, each of them showing the animation as it looks at that point in time.
- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description Webp2PdfConverter()
-
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
-
-