mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-13 20:00:05 +01:00
Make progress bars on UI true (#1112)
* Make progress bars on UI true Signed-off-by: tech4GT <varun.gupta1798@gmail.com> * update docs Signed-off-by: tech4GT <varun.gupta1798@gmail.com> * fix typo Signed-off-by: tech4GT <varun.gupta1798@gmail.com>
This commit is contained in:
committed by
Jeffrey Warren
parent
f5d7b0ae09
commit
80cb5b1194
@@ -15,9 +15,9 @@ module.exports = function DoNothing(options, UI) {
|
||||
|
||||
var step = this;
|
||||
|
||||
getPixels(input.src, function(err, pixels){
|
||||
getPixels(input.src, function(err, pixels) {
|
||||
|
||||
if(err) throw err;
|
||||
if (err) throw err;
|
||||
|
||||
var w = pixels.shape[0];
|
||||
var h = pixels.shape[1];
|
||||
@@ -28,7 +28,7 @@ module.exports = function DoNothing(options, UI) {
|
||||
options.step.qrval = (decoded) ? decoded.data : 'undefined';
|
||||
});
|
||||
|
||||
function output(image, datauri, mimetype){
|
||||
function output(image, datauri, mimetype) {
|
||||
// This output is accessible by Image Sequencer
|
||||
step.output = {
|
||||
src: datauri,
|
||||
@@ -37,6 +37,7 @@ module.exports = function DoNothing(options, UI) {
|
||||
}
|
||||
return require('../_nomodule/PixelManipulation.js')(input, {
|
||||
output: output,
|
||||
ui: options.step.ui,
|
||||
format: input.format,
|
||||
image: options.image,
|
||||
callback: callback
|
||||
|
||||
Reference in New Issue
Block a user