Package com.realobjects.pdfreactor
Class Configuration.ColorSpaceSettings
java.lang.Object
com.realobjects.pdfreactor.Configuration.ColorSpaceSettings
- Enclosing class:
Configuration
A type containing settings for the potential conversion of CSS colors and images into the target color space.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetCmykIccProfile
(Configuration.Resource cmykIccProfile) Specifies the ICC profile which defines the CMYK color space into or from which CSS colors and images are converted, ifenabled
.setConversionEnabled
(Boolean conversionEnabled) Enables the conversion of CSS colors and images to thetarget color space
using thespecified CMYK ICC profile
or naively if there is none.setTargetColorSpace
(Configuration.ColorSpace targetColorSpace) Specifies the target color-space of the PDF, i.e.
-
Constructor Details
-
ColorSpaceSettings
public ColorSpaceSettings()
-
-
Method Details
-
setTargetColorSpace
public Configuration.ColorSpaceSettings setTargetColorSpace(Configuration.ColorSpace targetColorSpace) Specifies the target color-space of the PDF, i.e. the color space that CSS keyword based colors are converted to.
When
setConversionEnabled(Boolean)
istrue
other CSS colors and images are converted as well.It is also the color space for PDF/A and PDF/X documents.
Defaults to
RGB
. -
setCmykIccProfile
Specifies the ICC profile which defines the CMYK color space into or from which CSS colors and images are converted, if
enabled
. -
setConversionEnabled
Enables the conversion of CSS colors and images to the
target color space
using thespecified CMYK ICC profile
or naively if there is none.
-