org.apache.batik.ext.awt.color
Class ICCColorSpaceExt

java.lang.Object
  extended by java.awt.color.ColorSpace
      extended by java.awt.color.ICC_ColorSpace
          extended by org.apache.batik.ext.awt.color.ICCColorSpaceExt
All Implemented Interfaces:
Serializable

Deprecated. use the version from XML Graphics Commons instead

public class ICCColorSpaceExt
extends ICC_ColorSpace

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.

See Also:
Serialized Form

Field Summary
static int ABSOLUTE_COLORIMETRIC
          Deprecated.  
static int AUTO
          Deprecated.  
static int PERCEPTUAL
          Deprecated.  
static int RELATIVE_COLORIMETRIC
          Deprecated.  
static int SATURATION
          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
ICCColorSpaceExt(ICC_Profile p, int intent)
          Deprecated.  
 
Method Summary
 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 constructor
 float[] perceptualToRGB(float[] values)
          Deprecated. Perceptual conversion is the method implemented by the base class's toRGB method
 float[] relativeColorimetricToRGB(float[] values)
          Deprecated. Relative colorimetric needs to happen through CIEXYZ conversion
 float[] 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

ICCColorSpaceExt

public ICCColorSpaceExt(ICC_Profile p,
                        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.



Copyright © 2017 Apache Software Foundation. All Rights Reserved.