public static class Configuration.ColorSpaceSettings extends Object
A type containing settings for the potential conversion of CSS colors and images into the target color space.
Constructor and Description |
---|
ColorSpaceSettings() |
Modifier and Type | Method and Description |
---|---|
Configuration.ColorSpaceSettings |
setCmykIccProfile(Configuration.Resource cmykIccProfile)
Specifies the ICC profile which defines the CMYK color space
into or from which CSS colors and images are converted, if
enabled . |
Configuration.ColorSpaceSettings |
setConversionEnabled(Boolean conversionEnabled)
Enables the conversion of CSS colors and images to the
target color space
using the
specified CMYK ICC profile
or naively if there is none. |
Configuration.ColorSpaceSettings |
setTargetColorSpace(Configuration.ColorSpace targetColorSpace)
Specifies the target color-space of the PDF.
|
public Configuration.ColorSpaceSettings setTargetColorSpace(Configuration.ColorSpace targetColorSpace)
Specifies the target color-space of the PDF.
This is the color space, CSS keyword based colors are converted to,
as well as, if enabled
,
other CSS colors and images.
It also is the color space for PDF/A and PDF/X documents.
Defaults to RGB
.
public Configuration.ColorSpaceSettings setCmykIccProfile(Configuration.Resource cmykIccProfile)
Specifies the ICC profile which defines the CMYK color space
into or from which CSS colors and images are converted, if
enabled
.
public Configuration.ColorSpaceSettings setConversionEnabled(Boolean conversionEnabled)
Enables the conversion of CSS colors and images to the
target color space
using the
specified CMYK ICC profile
or naively if there is none.
This doc was generated on 2023-09-21. Copyright © 2002-2023 RealObjects GmbH. All Rights Reserved.