Mako 7.3.0 API
Color space

A color space describes a range of colors appropriate to a given context.
A device color space describes the range of colors that a camera can see, a printer can print, or a monitor can display, and is tied to the device it describes.
Editing color spaces, on the other hand, such as Adobe RGB or sRGB, are device-independent, determining a color range you can work in. They are designed to be gray balanced, such that colors with equal amounts of red, green, and blue appear neutral, and allow you to edit images in a controlled, consistent manner. Editing spaces also are perceptually uniform; that is, changes to lightness, hue, or saturation are applied equally to all the colors in the image. More...

Classes

class  IDOMColorSpace
 IDOMColorSpace interface. More...
 
class  IDOMColorSpacesRGB
 Represents the RGB color space. More...
 
class  IDOMColorSpacesGray
 Represents a gray color space using the sRGB gamma and WhitePoint. More...
 
class  IDOMColorSpacescRGB
 Represents the scRGB color space. More...
 
class  IDOMColorSpaceDeviceRGB
 IDOMColorSpaceDeviceRGB interface. More...
 
class  IDOMColorSpaceDeviceGray
 IDOMColorSpaceDeviceGray interface. More...
 
class  IDOMColorSpaceDeviceCMYK
 Represents the default CMYK color space. More...
 
class  IDOMColorSpaceDeviceCMY
 Represents the default CMY color space. NOTE: Currently for internal use only; Do not use this color space in your own applications. More...
 
class  IDOMColorSpaceICCBased
 Represents a color space described by an ICC profile. More...
 
class  IDOMColorSpaceIndexed
 This color space is analogous to the PostScript/PDF Indexed color space. More...
 
class  IDOMDeviceNColorant
 This class enables the specification of colorant information for PDF style NChannel variants of DeviceN color spaces. More...
 
class  IDOMColorSpaceDeviceN
 This color space is analogous to the PostScript/PDF DeviceN/Separation color spaces. More...
 
class  IDOMColorSpaceLAB
 This color space is as described in section 4.5.4 of the PDF 1.7 Reference Manual. More...
 

Enumerations

enum  IDOMColorSpace::eColorSpaceType {
  IDOMColorSpace::eDeviceRGB , IDOMColorSpace::eDeviceGray , IDOMColorSpace::eDeviceCMYK , IDOMColorSpace::esRGB ,
  IDOMColorSpace::esGray , IDOMColorSpace::escRGB , IDOMColorSpace::eICCBased , IDOMColorSpace::eIndexed ,
  IDOMColorSpace::eDeviceN , IDOMColorSpace::eLAB , IDOMColorSpace::eDeviceCMY , eNumColorSpaceTypes = 11
}
 Color spaces type enumeration. More...
 

Detailed Description

A color space describes a range of colors appropriate to a given context.
A device color space describes the range of colors that a camera can see, a printer can print, or a monitor can display, and is tied to the device it describes.
Editing color spaces, on the other hand, such as Adobe RGB or sRGB, are device-independent, determining a color range you can work in. They are designed to be gray balanced, such that colors with equal amounts of red, green, and blue appear neutral, and allow you to edit images in a controlled, consistent manner. Editing spaces also are perceptually uniform; that is, changes to lightness, hue, or saturation are applied equally to all the colors in the image.

Enumeration Type Documentation

◆ eColorSpaceType

Color spaces type enumeration.

Enumerator
eDeviceRGB 

Device RGB color space.

eDeviceGray 

Device Gray color space.

eDeviceCMYK 

Device CMYK color space.

esRGB 

XPS sRGB color space with input range scaled to between 0 and 1.

esGray 

Gray with sRGB gamma color space.

escRGB 

XPS scRGB color space.

eICCBased 

Color space with an ICC profile.

eIndexed 

A color space analogous to the PostScript language/PDF Indexed color space,

eDeviceN 

representing a mapping from an integral component value to components of an underlying color space. See section 4.8.4 of the PostScript Language Reference, 3rd Edition, and section 4.5.5 of the PDF Reference, version 1.7 A color space analogous to the PostScript language/PDF DeviceN/Separation color

eLAB 

spaces as described in section 4.5.5 of the PDF 1.7 Reference Manual

Lab color space as described in section 4.5.4 of the PDF 1.7 Reference Manual

eDeviceCMY 

Device CMY color space to support PCL input. Internal use only.