Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1530,11 +1530,13 @@ Each object in `channels` MAY contain the following fields:
- `color` (string) String of 6 hexadecimal digits specifying the color of the channel in RGB format.
- `label` (string) Channel name.
- `active` (boolean) Indicates whether the channel should be displayed.
- `window` (dictionary) Values describing the windowing of the channel. All values are optional (MAY).
The `min` and `max` values may be used by viewers as the range of channel sliders.
- `window` (dictionary) Values describing the windowing of the channel.
If provided, `start` and `end` values MUST be specified.
All values can be floating-point numbers, but will likely be integers for integer pixel types.
- `min` (float) Default setting for lower bound for values of `start` field.
MAY be used by viewers as the lower range of channel sliders.
- `max` (float) Default setting for upper bound for values of `end` field.
MAY be used by viewers as the upper range of channel sliders.
- `start` (float) Start of the rendering window.
- `end` (float) End of the rendering window.
- `inverted` (boolean) If true, the rendering of darkest to brightest pixels should be inverted.
Expand Down
7 changes: 4 additions & 3 deletions schemas/image.schema
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@
},
"required": [
"start",
"min",
"end",
"max"
"end"
]
},
"label": {
Expand All @@ -153,6 +151,9 @@
},
"active": {
"type": "boolean"
},
"inverted": {
"type": "boolean"
}
}
}
Expand Down