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:
java.io.Serializable
public class ICCColorSpaceExt extends java.awt.color.ICC_ColorSpace
Deprecated.use the version from XML Graphics Commons insteadThis 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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
ABSOLUTE_COLORIMETRIC
Deprecated.static int
AUTO
Deprecated.(package private) int
intent
Deprecated.static int
PERCEPTUAL
Deprecated.static int
RELATIVE_COLORIMETRIC
Deprecated.static int
SATURATION
Deprecated.(package private) static java.awt.color.ColorSpace
sRGB
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 Constructor Description ICCColorSpaceExt(java.awt.color.ICC_Profile p, int intent)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description float[]
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
-
-
-
-
Field Detail
-
PERCEPTUAL
public static final int PERCEPTUAL
Deprecated.- See Also:
- Constant Field Values
-
RELATIVE_COLORIMETRIC
public static final int RELATIVE_COLORIMETRIC
Deprecated.- See Also:
- Constant Field Values
-
ABSOLUTE_COLORIMETRIC
public static final int ABSOLUTE_COLORIMETRIC
Deprecated.- See Also:
- Constant Field Values
-
SATURATION
public static final int SATURATION
Deprecated.- See Also:
- Constant Field Values
-
AUTO
public static final int AUTO
Deprecated.- See Also:
- Constant Field Values
-
sRGB
static final java.awt.color.ColorSpace sRGB
Deprecated.
-
intent
int intent
Deprecated.
-
-
Method Detail
-
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.
-
-