Enum PdfImageColorSpaceExportMode
Enum PdfImageColorSpaceExportMode
Namespace: Aspose.Words.Saving
编辑: Aspose.Words.dll (25.3.0)
指定如何在 PDF 文档中选择图像的颜色空间。
public enum PdfImageColorSpaceExportMode
田野
Auto = 0
Aspose.Words 自动选择每个图像最适合的颜色空间。
大多数图像存储在RGB颜色空间中,也可以使用索引和Grayscale颜色空间,CMYK颜色空间永远不会使用。
对于某些图像,不同平台的颜色空间可能会有所不同。
SimpleCmyk = 1
Aspose.Words 将 RGB 图像覆盖到 CMYK 颜色空间,使用简单的公式。
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.