All Known Implementing Classes:
BitmapCmykToRgbConverter, BitmapCompressor, BitmapDeindexer, BitmapIndexer, BitmapScalingProcessor, CombinedImageProcessor, JpegCompressor

public interface IImageProcessor
Interface for processing of images stored as PdfImageXObject with a specified ImageType.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.itextpdf.kernel.pdf.xobject.PdfImageXObject
    processImage(com.itextpdf.kernel.pdf.xobject.PdfImageXObject objectToProcess, OptimizationSession session)
    Processes an image.
  • Method Details

    • processImage

      com.itextpdf.kernel.pdf.xobject.PdfImageXObject processImage (com.itextpdf.kernel.pdf.xobject.PdfImageXObject objectToProcess, OptimizationSession session) throws IOException
      Processes an image.
      Parameters:
      objectToProcess - is a PdfImageXObject representing the image
      session - is an auxiliary object used to support share data between stages of optimization process
      Returns:
      processed image if processing can be performed and the same instance otherwise
      Throws:
      IOException - if any input/output issue occurs