pdfOptimizer 3.0.1 API
iText.Pdfoptimizer.Handlers.Converters Namespace Reference

Classes

class   AbstractCsConverter
  This is the abstract class for color space converters which are used to convert PDF objects in the original color space to PDF objects in target color space. More...
 
class   CmykToRgbCsConverter
  Class is used to convert color space of PDF objects from DeviceCmyk to DeviceRgb. More...
 
class   CsConverterProperties
  Properties that will be used by the ICsConverter. More...
 
interface   ICsConverter
  Interface for color space converting of PDF objects. More...
 
class   IdleEventListener
  Event listener class which to do nothing with events.
 
class   PdfCanvasCsConverter
  Processor for converting PDF content stream color space. More...
 
class   RgbToCmykCsConverter
  Class is used to convert color space of PDF objects from DeviceRgb to DeviceCmyk. More...
 

Enumerations

enum   ColorConversionMode { ColorConversionMode.IGNORE_PDF_A_CONFORMANCE, ColorConversionMode.NORMAL }
  Enum is used to list available color conversion modes. More...
 

Enumeration Type Documentation

◆ ColorConversionMode

Enum is used to list available color conversion modes.

Enumerator
IGNORE_PDF_A_CONFORMANCE 

Ignore PDF\A conformance mode.

Ignore PDF\A conformance mode. In this mode color space will be converted in all supported cases. If passed document to conversion is PDF/A document, PDF/A id schemas will be removed from PDF XMP metadata, so PDF document will no longer be considered as PDF/A. Compatibility checks for PDF/A conformance will be skipped.

NORMAL 

Normal mode.

Normal mode. In this mode color space will be converted in all supported cases. If passed document to conversion is PDF/A document, output intent is required (see CsConverterProperties.SetOutputIntent(PdfOutputIntent) method). If PDF/A conformance cannot be maintained during conversion, an exception PdfOptimizerException will be thrown.