remove redundant function (#1532)

Co-authored-by: Harsh Khandeparkar <34770591+HarshKhandeparkar@users.noreply.github.com>
Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
This commit is contained in:
Ove Sundal
2020-01-22 17:31:06 +01:00
committed by Jeffrey Warren
parent ecaa3ecd13
commit 2378a67895

View File

@@ -17,10 +17,6 @@ module.exports = function AddQR(options, UI) {
var step = this;
function changePixel(r, g, b, a) {
return [r, g, b, a];
}
function extraManipulation(pixels, setRenderState, generateOutput) {
let iw = pixels.shape[0], // Width of Original Image
ih = pixels.shape[1]; // Height of Original Image
@@ -50,7 +46,6 @@ module.exports = function AddQR(options, UI) {
return require('../_nomodule/PixelManipulation.js')(input, {
output: output,
ui: options.step.ui,
changePixel: changePixel,
extraManipulation: extraManipulation,
format: input.format,
image: options.image,