From 10f9a19ca3cf15bced92655189332ecc48c2e266 Mon Sep 17 00:00:00 2001 From: Chinmay Pandhare Date: Sat, 8 Jul 2017 03:05:24 +0530 Subject: [PATCH] Buildfix --- dist/image-sequencer.js | 2 +- src/modules/PixelManipulation.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/image-sequencer.js b/dist/image-sequencer.js index 52242f81..6577d0e5 100644 --- a/dist/image-sequencer.js +++ b/dist/image-sequencer.js @@ -35307,7 +35307,7 @@ module.exports = function PixelManipulation(image, options) { // there may be a more efficient means to encode an image object, // but node modules and their documentation are essentially arcane on this point w = base64.encode(); - var r = savePixels(pixels, options.format, {quality: 100}); + var r = savePixels(pixels, options.format); r.pipe(w).on('finish',function(){ data = w.read().toString(); datauri = 'data:image/' + options.format + ';base64,' + data; diff --git a/src/modules/PixelManipulation.js b/src/modules/PixelManipulation.js index 29d7be90..335cddca 100644 --- a/src/modules/PixelManipulation.js +++ b/src/modules/PixelManipulation.js @@ -45,7 +45,7 @@ module.exports = function PixelManipulation(image, options) { // there may be a more efficient means to encode an image object, // but node modules and their documentation are essentially arcane on this point w = base64.encode(); - var r = savePixels(pixels, options.format, {quality: 100}); + var r = savePixels(pixels, options.format); r.pipe(w).on('finish',function(){ data = w.read().toString(); datauri = 'data:image/' + options.format + ';base64,' + data;