A SERVICE OF

logo

156 Chapter 3
IccProfile.LINK
IccProfile.ABSTRACT
IccProfile.COLORSPACE
IccProfile.NAMEDCOLOR
IccProfile.UNKNOWN
Parameters
colorspace -> Bitwise OR (|) of desired colorspace values.
class -> Bitwise OR (|) of desired profile class values.
Example
The following code gets an array of all the ICC monitor and printer profiles for RGB and
CMYK colorspaces.
#link "IccProfile.dll"
var profs = IccProfile.list(IccProfile.RGB | IccProfile.CMYK,
IccProfile.MONITOR | IccProfile.PRINTER);
ICC Profile Object Methods
The ICC Profile Object implements the following methods:
IccProfile() Constructor
getName()
getPath()
getClass()
getColorspace()
getConnectionspace()
close()
NOTE: For all paths in the IccProfile Object that do not specify a file system the default is the
color file system. See “File Systems” on page 14 for more information.
IccProfile()
Constructor for IccProfile object. Does not return a value.
Parameters
Profile - path to an ICC profile file, or a media object with an embedded profile.
NOTE: The special profile names, “rgb” and “cmyk” may be used to denote the default RGB and
CYMK profiles specified in the global.properties file under the keys
“ColorManager.DefaultRGBProfile” and “ColorManager.DefaultCMYKProfile”, respectively.