Image
Supported image formats are NetPBM, PNG, JPEG and TIFF.
Mandatory properties
| Property | Type | Description |
|---|---|---|
| data | string | Image data as Base64 encoded text. |
Optional properties
| Property | Type | Description |
|---|---|---|
| intent | string | Image color handling. May be one of: RAW, SPOT_COLOR, PERCEPTUAL, RELATIVE_COLORIMETRIC, SATURATION, ABSOLUTE_COLORIMETRIC. |
| blackMode | string | How black is printed, see Black mode. Default is PRESERVE_BLACK. v6.0 |
Black mode v6.0
The black mode decides how black in an image is converted to the printer's inks:
| Value | Description |
|---|---|
NORMAL | Convert black with the color profile, like any other color. |
PRESERVE_BLACK | Print pure black in RGB, gray and CMYK images with black ink only. |
PRESERVE_K | Print pure black with black ink only in CMYK images, as in versions before v6.0. |
New images get PRESERVE_BLACK unless another mode is given. Images stored
before v6.0, and images imported from exports made before v6.0, get
PRESERVE_K, so that they print as before. Use
setImageBlackMode to
change the mode of an image.
Example
{
"data": "SUkqADgCAA...IAAgA",
"intent": "SPOT_COLOR"
}