config: make the blend space configurable
This commit is contained in:
parent
991b212120
commit
39c770f6e2
20 changed files with 257 additions and 15 deletions
|
|
@ -797,6 +797,25 @@ This table is a tagged union. The variant is determined by the `type` field. It
|
|||
The value of this field should be a string.
|
||||
|
||||
|
||||
<a name="types-BlendSpace"></a>
|
||||
### `BlendSpace`
|
||||
|
||||
A color blend space.
|
||||
|
||||
Values of this type should be strings.
|
||||
|
||||
The string should have one of the following values:
|
||||
|
||||
- `srgb`:
|
||||
|
||||
The sRGB blend space. This is the classic desktop blend space.
|
||||
|
||||
- `linear`:
|
||||
|
||||
Linear color space. This is the physically correct blend space.
|
||||
|
||||
|
||||
|
||||
<a name="types-Brightness"></a>
|
||||
### `Brightness`
|
||||
|
||||
|
|
@ -3548,6 +3567,14 @@ The table has the following fields:
|
|||
|
||||
The value of this field should be a [Brightness](#types-Brightness).
|
||||
|
||||
- `blend-space` (optional):
|
||||
|
||||
The blend space of the output.
|
||||
|
||||
The default is `srgb`.
|
||||
|
||||
The value of this field should be a [BlendSpace](#types-BlendSpace).
|
||||
|
||||
|
||||
<a name="types-OutputMatch"></a>
|
||||
### `OutputMatch`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue