Class Webp2PdfConverter

java.lang.Object
de.xima.fc.transform.pdf.convert.img.Webp2PdfConverter
All Implemented Interfaces:
IPdfConverter

public class Webp2PdfConverter extends Object implements IPdfConverter
IPdfConverter implementation for WebP 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 Details

    • Webp2PdfConverter

      public Webp2PdfConverter()
  • Method Details

    • convert

      public void convert(InputStream is, OutputStream os, PdfConversionParams conversionParams)
      Specified by:
      convert in interface IPdfConverter
      Parameters:
      is - the input stream providing the source data
      os - the output stream for the resulting PDF data
      conversionParams - parameters for the conversion