Skip to content

Latest commit

 

History

History
 
 

Document-Mode-Object-Simplified-Format

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

README.md

Document Mode Object Simplified Format

  • Input format of jamStyles.toDocumentModeObject.
  • Output format of jamStyles.fromDocumentModeObject.

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
}