Class CsConverterProperties

java.lang.Object
com.itextpdf.pdfoptimizer.handlers.converters.CsConverterProperties

public class CsConverterProperties extends Object
Properties that will be used by the ICsConverter.
  • Constructor Details

  • Method Details

    • setOutputIntent

      public CsConverterProperties setOutputIntent (com.itextpdf.kernel.pdf.PdfOutputIntent outputIntent)
      Sets output intent instance which will be used for replacing original PDF output intent when converting the color space. Important note, setting output intent by calling this method is required when ColorConversionMode.NORMAL mode is enabled and PDF/A document was passed for color conversion, otherwise PdfOptimizerException exception will be thrown. Also, if document didn't have output intent originally, then output intent will not be put to such document.
      Parameters:
      outputIntent - the output intent instance to set
      Returns:
      this instance
    • getOutputIntent

      public com.itextpdf.kernel.pdf.PdfOutputIntent getOutputIntent()
      Gets output intent instance which will be used for replacing original PDF output intent when converting the color space. Important note, setting output intent by calling setOutputIntent(PdfOutputIntent) method is required when ColorConversionMode.NORMAL mode is enabled and PDF/A document was passed for color conversion, otherwise PdfOptimizerException exception will be thrown. Also, if document didn't have output intent originally, then output intent will not be put to such document.
      Returns:
      the output intent instance
    • getConversionMode

      public ColorConversionMode getConversionMode()
      Gets the ColorConversionMode which is respected while converting color spaces using this CsConverterProperties instance.
      Returns:
      the used ColorConversionMode