pdfOptimizer 3.0.1 API
|
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...
Public Member Functions |
|
AbstractCsConverter (CsConverterProperties csConverterProperties) | |
Creates an AbstractCsConverter. More... |
|
virtual PdfImageXObject | ConvertImageCs (PdfImageXObject imageToConvert, OptimizationSession session) |
Converts passed image in original color space to image in target color space. More... |
|
virtual PdfStream | ConvertContentStream (PdfStream stream, PdfResources externalResources, OptimizationSession session) |
Converts color space of the passed content stream. More... |
|
virtual void | ConvertStoredResources (OptimizationSession session) |
Converts color space of the stored content stream resources. More... |
|
virtual PdfArray | ConvertAnnotationIcArray (PdfArray icArray) |
Converts annotation interior color array by using of current color converter. More... |
|
virtual void | AttemptToConvertTransparencyGroup (PdfObject groupEntryHolder, OptimizationSession session) |
Attempt to converts transparency group dictionary which stored in passed groupEntryHolder PDF object, if this groupEntryHolder can store transparency group by PDF specification. More... |
|
virtual CsConverterProperties | GetConverterProperties () |
Gets current converter properties instance. More... |
|
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.
|
inline |
Creates an AbstractCsConverter.
csConverterProperties |
CsConverterProperties to be used by this AbstractCsConverter
|
inlinevirtual |
Attempt to converts transparency group dictionary which stored in passed groupEntryHolder PDF object, if this groupEntryHolder can store transparency group by PDF specification.
groupEntryHolder | the PDF object which stored transparency group dictionary to convert |
session | is an auxiliary object used to support share data between stages of optimization process |
Implements iText.Pdfoptimizer.Handlers.Converters.ICsConverter.
|
inlinevirtual |
Converts annotation interior color array by using of current color converter.
icArray |
Converts annotation interior color array.
Converts annotation interior color array.
Implements iText.Pdfoptimizer.Handlers.Converters.ICsConverter.
|
inlinevirtual |
Converts color space of the passed content stream.
Converts color space of the passed content stream. Note that this method does not process content stream resources and passed external resources. Also, this method saves resources for their subsequent processing within the ConvertStoredResources(iText.Pdfoptimizer.OptimizationSession) method.
stream |
Converts color space of the passed content stream.
externalResources |
Converts color space of the passed content stream.
session |
Converts color space of the passed content stream.
Converts color space of the passed content stream.
Implements iText.Pdfoptimizer.Handlers.Converters.ICsConverter.
|
inlinevirtual |
Converts passed image in original color space to image in target color space.
imageToConvert | the image in original color space |
session | is an auxiliary object used to support share data between stages of optimization process |
Implements iText.Pdfoptimizer.Handlers.Converters.ICsConverter.
|
inlinevirtual |
Converts color space of the stored content stream resources.
Converts color space of the stored content stream resources. Resource stored takes place within the ConvertContentStream(iText.Kernel.Pdf.PdfStream, iText.Kernel.Pdf.PdfResources, iText.Pdfoptimizer.OptimizationSession) method. Note that this method should be called after all content streams have been processed.
session |
Converts color space of the stored content stream resources.
Implements iText.Pdfoptimizer.Handlers.Converters.ICsConverter.
|
inlinevirtual |
Gets current converter properties instance.
Implements iText.Pdfoptimizer.Handlers.Converters.ICsConverter.