Package org.apache.batik.ext.awt.color
Class ICCColorSpaceExt
java.lang.Object
java.awt.color.ColorSpace
java.awt.color.ICC_ColorSpace
org.apache.batik.ext.awt.color.ICCColorSpaceExt
- All Implemented Interfaces:
Serializable
Deprecated.
use the version from XML Graphics Commons instead
This class extends the ICCColorSpace class by providing
convenience methods to convert to sRGB using various
methods, forcing a givent intent, such as perceptual or
relative colorimetric.
- Version:
- $Id: ICCColorSpaceExt.java 1808888 2017-09-19 14:22:11Z ssteiner $
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Deprecated.static final int
Deprecated.(package private) int
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.(package private) static final ColorSpace
Deprecated.Fields inherited from class java.awt.color.ColorSpace
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat[]
absoluteColorimetricToRGB
(float[] values) Deprecated.Absolute colorimetric.float[]
intendedToRGB
(float[] values) Deprecated.Returns the sRGB value obtained by forcing the conversion method to the intent passed to the constructorfloat[]
perceptualToRGB
(float[] values) Deprecated.Perceptual conversion is the method implemented by the base class's toRGB methodfloat[]
relativeColorimetricToRGB
(float[] values) Deprecated.Relative colorimetric needs to happen through CIEXYZ conversionfloat[]
saturationToRGB
(float[] values) Deprecated.Saturation.Methods inherited from class java.awt.color.ICC_ColorSpace
fromCIEXYZ, fromRGB, getMaxValue, getMinValue, getProfile, toCIEXYZ, toRGB
Methods inherited from class java.awt.color.ColorSpace
getInstance, getName, getNumComponents, getType, isCS_sRGB
-
Field Details
-
PERCEPTUAL
public static final int PERCEPTUALDeprecated.- See Also:
-
RELATIVE_COLORIMETRIC
public static final int RELATIVE_COLORIMETRICDeprecated.- See Also:
-
ABSOLUTE_COLORIMETRIC
public static final int ABSOLUTE_COLORIMETRICDeprecated.- See Also:
-
SATURATION
public static final int SATURATIONDeprecated.- See Also:
-
AUTO
public static final int AUTODeprecated.- See Also:
-
sRGB
Deprecated. -
intent
int intentDeprecated.
-
-
Constructor Details
-
ICCColorSpaceExt
Deprecated.
-
-
Method Details
-
intendedToRGB
public float[] intendedToRGB(float[] values) Deprecated.Returns the sRGB value obtained by forcing the conversion method to the intent passed to the constructor -
perceptualToRGB
public float[] perceptualToRGB(float[] values) Deprecated.Perceptual conversion is the method implemented by the base class's toRGB method -
relativeColorimetricToRGB
public float[] relativeColorimetricToRGB(float[] values) Deprecated.Relative colorimetric needs to happen through CIEXYZ conversion -
absoluteColorimetricToRGB
public float[] absoluteColorimetricToRGB(float[] values) Deprecated.Absolute colorimetric. NOT IMPLEMENTED. Temporarily returns same as perceptual -
saturationToRGB
public float[] saturationToRGB(float[] values) Deprecated.Saturation. NOT IMPLEMENTED. Temporarily returns same as perceptual.
-