public class ICCColorSpaceWithIntent extends ICC_ColorSpace implements ColorSpaceOrigin
CS_CIEXYZ, CS_GRAY, CS_LINEAR_RGB, CS_PYCC, CS_sRGB, TYPE_2CLR, TYPE_3CLR, TYPE_4CLR, TYPE_5CLR, TYPE_6CLR, TYPE_7CLR, TYPE_8CLR, TYPE_9CLR, TYPE_ACLR, TYPE_BCLR, TYPE_CCLR, TYPE_CMY, TYPE_CMYK, TYPE_DCLR, TYPE_ECLR, TYPE_FCLR, TYPE_GRAY, TYPE_HLS, TYPE_HSV, TYPE_Lab, TYPE_Luv, TYPE_RGB, TYPE_XYZ, TYPE_YCbCr, TYPE_Yxy| Constructor and Description |
|---|
ICCColorSpaceWithIntent(ICC_Profile p,
RenderingIntent intent,
String profileName,
String profileURI)
Creates a new ICC-based color space.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getProfileName()
Returns the name of the profile used to identify the color space in a particular context.
|
String |
getProfileURI()
Returns the URI identifying the associate color profile.
|
float[] |
intendedToRGB(float[] values)
Returns the sRGB value obtained by forcing the
conversion method to the intent passed to the
constructor.
|
fromCIEXYZ, fromRGB, getMaxValue, getMinValue, getProfile, toCIEXYZ, toRGBgetInstance, getName, getNumComponents, getType, isCS_sRGBpublic ICCColorSpaceWithIntent(ICC_Profile p, RenderingIntent intent, String profileName, String profileURI)
p - the color profileintent - the overriding rendering intent (use RenderingIntent.AUTO
to preserve the profile's)profileName - the color profile nameprofileURI - the source URI of the color profilepublic float[] intendedToRGB(float[] values)
values - the color values in the local color spacepublic String getProfileName()
getProfileName in interface ColorSpaceOriginpublic String getProfileURI()
getProfileURI in interface ColorSpaceOriginCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.