diff --git a/docs/MODULES.md b/docs/MODULES.md index 126dee57..347bc4e4 100644 --- a/docs/MODULES.md +++ b/docs/MODULES.md @@ -37,7 +37,7 @@ List of Module Documentations 32. [Saturation](#saturation-module) 33. [Threshold](#threshold) 34. [Tint](#tint) -35. [WhiteBalance](#white-balance) +35. [ColorTemperature](#color-temperature) ## crop-module @@ -571,15 +571,15 @@ where `options` is an object with the following property: * 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 ```js sequencer.loadImage('PATH') - .addSteps('white-balance',options) + .addSteps('color-temperature',options) .run() ``` where `options` is an object with the following property: diff --git a/src/Modules.js b/src/Modules.js index 574ee9f6..8c326b43 100644 --- a/src/Modules.js +++ b/src/Modules.js @@ -36,5 +36,5 @@ module.exports = { 'saturation': require('./modules/Saturation'), 'threshold': require('./modules/Threshold'), 'tint': require('./modules/Tint'), - 'white-balance': require('./modules/WhiteBalance') -} \ No newline at end of file + 'color-temperature': require('./modules/ColorTemperature') +} diff --git a/src/modules/WhiteBalance/Module.js b/src/modules/ColorTemperature/Module.js similarity index 97% rename from src/modules/WhiteBalance/Module.js rename to src/modules/ColorTemperature/Module.js index fec50727..6a83f1bd 100644 --- a/src/modules/WhiteBalance/Module.js +++ b/src/modules/ColorTemperature/Module.js @@ -1,4 +1,4 @@ -module.exports = function Balance(options, UI) { +module.exports = function ColorTemperature(options, UI) { var output; @@ -78,4 +78,4 @@ module.exports = function Balance(options, UI) { UI: UI } -} \ No newline at end of file +} diff --git a/src/modules/WhiteBalance/index.js b/src/modules/ColorTemperature/index.js similarity index 97% rename from src/modules/WhiteBalance/index.js rename to src/modules/ColorTemperature/index.js index 11ef888f..49feec2b 100644 --- a/src/modules/WhiteBalance/index.js +++ b/src/modules/ColorTemperature/index.js @@ -1,4 +1,4 @@ module.exports = [ require('./Module'), require('./info.json') -] \ No newline at end of file +] diff --git a/src/modules/WhiteBalance/info.json b/src/modules/ColorTemperature/info.json similarity index 58% rename from src/modules/WhiteBalance/info.json rename to src/modules/ColorTemperature/info.json index c707266f..adde81d1 100644 --- a/src/modules/WhiteBalance/info.json +++ b/src/modules/ColorTemperature/info.json @@ -1,6 +1,6 @@ { - "name": "White Balance", - "description": "Change the colour balance of the image by adjusting the colour temperature.", + "name": "Color Temperature", + "description": "Changes the color temperature of the image.", "inputs": { "temperature": { "type": "integer", @@ -8,5 +8,5 @@ "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" }