Vector kit command
edit.colorSettings
Color Settings…
Sets the RGB and CMYK working spaces, rendering intent and black point compensation; answers them with the available profiles.
- Kit
- Vector 0.1.0 (.kvector)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
bpc | boolean | no | |
cmyk | string | no | |
intent | "perceptual" | "relative" | "saturation" | "absolute" | no | |
rgb | string | no |
Call through vector_run
text
vector_run {
"path": "<file>.kvector",
"steps": [{ "command": "edit.colorSettings" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: bpc, cmyk, intent, rgb. vector_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
bpc | boolean | no | |
cmyk | string | no | |
intent | string | no | |
profiles | object[] | no | |
rgb | string | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"bpc": {
"type": "boolean"
},
"cmyk": {
"type": "string"
},
"intent": {
"type": "string"
},
"profiles": {
"items": {
"additionalProperties": true,
"properties": {
"builtin": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"rgb": {
"type": "string"
}
},
"type": "object"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"bpc": {
"type": "boolean"
},
"cmyk": {
"type": "string"
},
"intent": {
"enum": [
"perceptual",
"relative",
"saturation",
"absolute"
],
"type": "string"
},
"rgb": {
"type": "string"
}
},
"returns": "{rgb, cmyk, intent, bpc, profiles: [{name, kind, builtin}]}",
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (vector_commands through @kition/[email protected], built from KitionAI/kition-vector@7cf908f). As data: commands.jsonl.