Package com.geniusscansdk.pdf
Class PDFImageProcessor
- java.lang.Object
-
- com.geniusscansdk.pdf.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.
-
-
Constructor Summary
Constructors Constructor Description PDFImageProcessor()
-
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.
-
-
-
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
-
-