Document Mode Object Simplified Format

Used by the following utility scripts:

Simplified format

Defined as a JSON object:

{
    "colorSpace": colorSpace,
    "depth": depth
}

colorSpace : [optional; "RGBColor" by default] string (among "CMYKColorEnum", "grayScale", "labColor", "RGBColor")
depth : [optional; 8 by default] number (8 or 16)

Examples

{
    "colorSpace": "CMYKColorEnum"
}
{
    "colorSpace": "labColor",
    "depth": 16
}

Tags: , , , ,

Comments are closed.