mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-11 19:00:00 +01:00
[GCI] Added Lightning Bolt for WASM accelerated modules (#1365)
* wasmSuccess * modules use wasmSuccess * modules use wasmSuccess * add the tooltip
This commit is contained in:
committed by
Jeffrey Warren
parent
b7d5a98cdb
commit
6476b8d698
@@ -25,9 +25,11 @@ module.exports = function AddQR(options, UI) {
|
||||
}
|
||||
require('./QR')(options, pixels, oldPixels, generateOutput);
|
||||
}
|
||||
function output(image, datauri, mimetype) {
|
||||
step.output = { src: datauri, format: mimetype };
|
||||
|
||||
function output(image, datauri, mimetype, wasmSuccess) {
|
||||
step.output = { src: datauri, format: mimetype, wasmSuccess, useWasm: options.useWasm };
|
||||
}
|
||||
|
||||
return require('../_nomodule/PixelManipulation.js')(input, {
|
||||
output: output,
|
||||
ui: options.step.ui,
|
||||
@@ -40,7 +42,6 @@ module.exports = function AddQR(options, UI) {
|
||||
useWasm:options.useWasm
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user