Class PDFImageProcessor


  • public abstract class PDFImageProcessor
    extends java.lang.Object
    Used to preprocess pages of the PDF generation. When you generate a PDF document from images, you may want to apply some preprocessing to each image before inserting them in the document (for instance resizing them, including a watermark, etc.) You can implement your own PDF_image_processor and pass it when generating a PDF document. to achieve this.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract java.lang.String process​(java.lang.String inputFilePath)
      Process the image and return a file path to the updated image.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PDFImageProcessor

        public PDFImageProcessor()
    • Method Detail

      • process

        public abstract java.lang.String process​(java.lang.String inputFilePath)
        Process the image and return a file path to the updated image. The PDF processor will delete this temporary image afterwards (only if it's different from inputFilePath )
        Returns:
        NULL if there is an error