Enum PdfImageColorSpaceExportMode

Enum PdfImageColorSpaceExportMode

Namespace: Aspose.Words.Saving
Assembly: Aspose.Words.dll (25.3.0)

Specifies how the color space will be selected for the images in PDF document.

public enum PdfImageColorSpaceExportMode

Fields

Auto = 0

Aspose.Words automatically selects the most appropriate color space for each image.

Most of the images are saved in RGB color space. Also Indexed and Grayscale color spaces may be used. CMYK color space is never used.

For some images the color space may be different on different platforms.

SimpleCmyk = 1

Aspose.Words coverts RGB images to CMYK color space using simple formula.

Images in RGB color space are converted to CMYK using formula: Black = minimum(1-Red,1-Green,1-Blue). Cyan = (1-Red-Black)/(1-Black). Magenta = (1-Green-Black)/(1-Black). Yellow = (1-Blue-Black)/(1-Black). RGB values are normalized - they are between 0 and 1.0.