pdfOptimizer 3.0.1 API
iText.Pdfoptimizer.Handlers.Imagequality.Processors.BitmapCmykToRgbConverter Class Reference

Class is used to change the color scheme of the bitmap image from CMYK to RGB. More...

Inheritance diagram for iText.Pdfoptimizer.Handlers.Imagequality.Processors.BitmapCmykToRgbConverter:
iText.Pdfoptimizer.Handlers.Imagequality.Processors.IImageProcessor

Public Member Functions

  BitmapCmykToRgbConverter ()
  Creates an instance of the color scheme converter. More...
 
virtual PdfImageXObject  ProcessImage (PdfImageXObject objectToProcess, OptimizationSession session)
  If provided image is a bitmap image with DeviceCMYK color scheme then converts it to the image with DeviceRGB color scheme. More...
 

Detailed Description

Class is used to change the color scheme of the bitmap image from CMYK to RGB.

Constructor & Destructor Documentation

◆ BitmapCmykToRgbConverter()

iText.Pdfoptimizer.Handlers.Imagequality.Processors.BitmapCmykToRgbConverter.BitmapCmykToRgbConverter ( )
inline

Creates an instance of the color scheme converter.

Member Function Documentation

◆ ProcessImage()

virtual PdfImageXObject iText.Pdfoptimizer.Handlers.Imagequality.Processors.BitmapCmykToRgbConverter.ProcessImage ( PdfImageXObject  objectToProcess,
OptimizationSession  session 
)
inlinevirtual

If provided image is a bitmap image with DeviceCMYK color scheme then converts it to the image with DeviceRGB color scheme.

Parameters
objectToProcess

Processes an image.

Returns

Processes an image.

Implements iText.Pdfoptimizer.Handlers.Imagequality.Processors.IImageProcessor.