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

public class ICCColorSpaceExt extends ICC_ColorSpace
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 Details

  • Constructor Details

    • ICCColorSpaceExt

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