public class BitmapCmykToRgbConverter extends Object implements IImageProcessor
| Constructor and Description |
|---|
BitmapCmykToRgbConverter()
Creates an instance of the color scheme converter.
|
| Modifier and Type | Method and Description |
|---|---|
com.itextpdf.kernel.pdf.xobject.PdfImageXObject |
processImage(com.itextpdf.kernel.pdf.xobject.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.
|
public BitmapCmykToRgbConverter()
public com.itextpdf.kernel.pdf.xobject.PdfImageXObject processImage(com.itextpdf.kernel.pdf.xobject.PdfImageXObject objectToProcess,
OptimizationSession session)
processImage in interface IImageProcessor
objectToProcess - is a PdfImageXObject representing the image
session - is an auxiliary object used to support share data between stages of optimization process
Copyright © 1998–2020 iText Group NV. All rights reserved.