mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-11 19:00:00 +01:00
Rename White balance to ColorTemperature (#931)
* Update and rename src/modules/WhiteBalance/Module.js to src/modules/ColorTemperature/Module.js * Rename src/modules/WhiteBalance/index.js to src/modules/ColorTemperature/index.js * Update and rename src/modules/WhiteBalance/info.json to src/modules/ColorTemperature/info.json * Update Modules.js * Update MODULES.md * Update MODULES.md * Update Module.js * Update info.json
This commit is contained in:
committed by
Jeffrey Warren
parent
9be102e1dd
commit
95efe812c3
@@ -37,7 +37,7 @@ List of Module Documentations
|
|||||||
32. [Saturation](#saturation-module)
|
32. [Saturation](#saturation-module)
|
||||||
33. [Threshold](#threshold)
|
33. [Threshold](#threshold)
|
||||||
34. [Tint](#tint)
|
34. [Tint](#tint)
|
||||||
35. [WhiteBalance](#white-balance)
|
35. [ColorTemperature](#color-temperature)
|
||||||
|
|
||||||
|
|
||||||
## crop-module
|
## crop-module
|
||||||
@@ -571,15 +571,15 @@ where `options` is an object with the following property:
|
|||||||
* factor : amount of tint (default 0.5)
|
* factor : amount of tint (default 0.5)
|
||||||
|
|
||||||
|
|
||||||
## White Balance
|
## Color Temperature
|
||||||
|
|
||||||
This Change the colour balance of the image by adjusting the colour temperature.
|
This changes the color temperature of the image.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```js
|
```js
|
||||||
sequencer.loadImage('PATH')
|
sequencer.loadImage('PATH')
|
||||||
.addSteps('white-balance',options)
|
.addSteps('color-temperature',options)
|
||||||
.run()
|
.run()
|
||||||
```
|
```
|
||||||
where `options` is an object with the following property:
|
where `options` is an object with the following property:
|
||||||
|
|||||||
@@ -36,5 +36,5 @@ module.exports = {
|
|||||||
'saturation': require('./modules/Saturation'),
|
'saturation': require('./modules/Saturation'),
|
||||||
'threshold': require('./modules/Threshold'),
|
'threshold': require('./modules/Threshold'),
|
||||||
'tint': require('./modules/Tint'),
|
'tint': require('./modules/Tint'),
|
||||||
'white-balance': require('./modules/WhiteBalance')
|
'color-temperature': require('./modules/ColorTemperature')
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
module.exports = function Balance(options, UI) {
|
module.exports = function ColorTemperature(options, UI) {
|
||||||
|
|
||||||
var output;
|
var output;
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "White Balance",
|
"name": "Color Temperature",
|
||||||
"description": "Change the colour balance of the image by adjusting the colour temperature.",
|
"description": "Changes the color temperature of the image.",
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"temperature": {
|
"temperature": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
@@ -8,5 +8,5 @@
|
|||||||
"default": 6000
|
"default": 6000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"docs-link":"https://github.com/publiclab/image-sequencer/blob/main/docs/MODULES.md#white-balance"
|
"docs-link":"https://github.com/publiclab/image-sequencer/blob/main/docs/MODULES.md#color-temperature"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user