Skip to content

Commit

Permalink
remove redundant function (#1532)
Browse files Browse the repository at this point in the history
Co-authored-by: Harsh Khandeparkar <34770591+HarshKhandeparkar@users.noreply.github.com>
Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
  • Loading branch information
3 people committed Jan 22, 2020
1 parent ecaa3ec commit 2378a67
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/modules/AddQR/Module.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 2378a67

Please sign in to comment.