JavaTM 2 Platform
Standard Ed. 6

类 java.awt.color.ICC_Profile
的使用

使用 ICC_Profile 的软件包
java.awt.color 提供用于颜色空间的类。 
java.awt.image 提供创建和修改图像的各种类。 
 

java.awt.colorICC_Profile 的使用
 

java.awt.colorICC_Profile 的子类
 class ICC_ProfileGray
          ICC_Profile 类的子类,表示满足以下标准的配置文件:配置文件的颜色空间类型是 TYPE_GRAY,并且配置文件包括 grayTRCTag 和 mediaWhitePointTag 标记。
 class ICC_ProfileRGB
          ICC_ProfileRGB 类是 ICC_Profile 类的子类,它表示满足以下标准的配置文件: 配置文件的颜色空间类型是 RGB。
 

返回 ICC_Profilejava.awt.color 中的方法
static ICC_Profile ICC_Profile.getInstance(byte[] data)
          构造一个与 byte 数组中的数据相对应的 ICC_Profile 对象。
static ICC_Profile ICC_Profile.getInstance(InputStream s)
          构造一个与 InputStream 中的数据相对应的 ICC_Profile。
static ICC_Profile ICC_Profile.getInstance(int cspace)
          构造一个与 ColorSpace 类所定义的指定颜色空间之一(如 CS_sRGB)相对应的 ICC_Profile。
static ICC_Profile ICC_Profile.getInstance(String fileName)
          构造一个与文件中的数据相对应的 ICC_Profile。
 ICC_Profile ICC_ColorSpace.getProfile()
          返回此 ICC_ColorSpace 的 ICC_Profile。
 

参数类型为 ICC_Profilejava.awt.color 中的构造方法
ICC_ColorSpace(ICC_Profile profile)
          由 ICC_Profile 对象构造一个新的 ICC_ColorSpace。
 

java.awt.imageICC_Profile 的使用
 

返回 ICC_Profilejava.awt.image 中的方法
 ICC_Profile[] ColorConvertOp.getICC_Profiles()
          返回用于构造此 ColorConvertOp 的 ICC_Profiles 的数组。
 

参数类型为 ICC_Profilejava.awt.image 中的构造方法
ColorConvertOp(ICC_Profile[] profiles, RenderingHints hints)
          根据 ICC_Profiles 的数组构造新的 ColorConvertOp。
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only