public class ICCProfileWrapper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.awt.color.ICC_ColorSpace |
colorSpace
The ICC ColorSpace created using the ICCProfile
|
private java.awt.color.ICC_Profile |
profile
The ICCProfile extracted from DestOutputItents
|
Constructor and Description |
---|
ICCProfileWrapper(java.awt.color.ICC_Profile _profile) |
Modifier and Type | Method and Description |
---|---|
int |
getColorSpaceType()
Call the ICC_ColorSpace.getType method and return the value.
|
static ICCProfileWrapper |
getOrSearchICCProfile(PreflightContext context) |
java.awt.color.ICC_Profile |
getProfile() |
boolean |
isCMYKColorSpace()
Return true if the ColourSpace is CMYK
|
boolean |
isGrayColorSpace()
Return true if the ColourSpace is Gray scale
|
boolean |
isRGBColorSpace()
Return true if the ColourSpace is RGB
|
private static ICCProfileWrapper |
searchFirstICCProfile(PreflightContext context)
This method read all outputIntent dictionary until on of them have a destOutputProfile stream.
|
private final java.awt.color.ICC_Profile profile
private final java.awt.color.ICC_ColorSpace colorSpace
public int getColorSpaceType()
public java.awt.color.ICC_Profile getProfile()
public boolean isRGBColorSpace()
public boolean isCMYKColorSpace()
public boolean isGrayColorSpace()
private static ICCProfileWrapper searchFirstICCProfile(PreflightContext context)
context
- public static ICCProfileWrapper getOrSearchICCProfile(PreflightContext context) throws ValidationException
ValidationException