Class ICCColorSpaceExt

  • All Implemented Interfaces:
    java.io.Serializable

    public class ICCColorSpaceExt
    extends java.awt.color.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.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      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

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

      • ICCColorSpaceExt

        public ICCColorSpaceExt​(java.awt.color.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.