Parse info.json to set module defaults (#650)

* changes

* changes

* changes

* changes

* changes

* changes
This commit is contained in:
Mridul97
2019-02-06 21:40:54 +05:30
committed by Jeffrey Warren
parent 6b305a02f5
commit 6153dbfdaa
19 changed files with 13833 additions and 13713 deletions

View File

@@ -4,7 +4,8 @@
module.exports = function Contrast(options, UI) {
options.contrast = options.contrast || 70
var defaults = require('./../../util/getDefaults.js')(require('./info.json'));
options.contrast = options.contrast || defaults.contrast;
var output;
function draw(input, callback, progressObj) {