mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
caab8e819b
* add new rgbtransform * activate rgbtransform * integrate new transform and gamma in adjustment, disable transform * fix brighness limit * advance upper and lower thresholds * start removing color transform * adjust configs/schema * implement json for new color adjustment * finish hyperion-remote extension for new adjustment settings * fix typos * rename luminance to brightness fix jsonapi for new adjustment * fix some bugs in adjustments * fix i18n * fix gamma via json * now brighness values goes from 0-1 with 0.5 is the default for all brighness is equal between the channels. less 0.5 all channels scaled down to new brighness, above 0.5 if possible channel gets brighter - but brighness is not equal between the channels anymore brighness value curve is now exponential instead of linear - this feels more natural * hslv cleanup
145 lines
2.6 KiB
JSON
145 lines
2.6 KiB
JSON
{
|
|
"type":"object",
|
|
"required":true,
|
|
"properties":{
|
|
"command": {
|
|
"type" : "string",
|
|
"required" : true,
|
|
"enum" : ["adjustment"]
|
|
},
|
|
"tan" : {
|
|
"type" : "integer"
|
|
},
|
|
"adjustment": {
|
|
"type": "object",
|
|
"required": true,
|
|
"properties": {
|
|
"id" : {
|
|
"type" : "string",
|
|
"required" : false
|
|
},
|
|
"redAdjust": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"greenAdjust": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"blueAdjust": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"yellowAdjust": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"magentaAdjust": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"cyanAdjust": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"blackAdjust": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"whiteAdjust": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"gammaR": {
|
|
"type" : "number",
|
|
"required" : false,
|
|
"minimum" : 0.0,
|
|
"maximum" : 100.0
|
|
},
|
|
"gammaG": {
|
|
"type" : "number",
|
|
"required" : false,
|
|
"minimum" : 0.0,
|
|
"maximum" : 100.0
|
|
},
|
|
"gammaB": {
|
|
"type" : "number",
|
|
"required" : false,
|
|
"minimum" : 0.0,
|
|
"maximum" : 100.0
|
|
},
|
|
"brightnessMin" : {
|
|
"type" : "number",
|
|
"required" : false,
|
|
"minimum" : 0.0,
|
|
"maximum" : 1.0
|
|
},
|
|
"brightness" : {
|
|
"type" : "number",
|
|
"required" : false,
|
|
"minimum" : 0.0,
|
|
"maximum" : 1.0
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|