mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-15 12:50:04 +01:00
Buildfix
This commit is contained in:
2
dist/image-sequencer.js
vendored
2
dist/image-sequencer.js
vendored
@@ -35307,7 +35307,7 @@ module.exports = function PixelManipulation(image, options) {
|
|||||||
// there may be a more efficient means to encode an image object,
|
// there may be a more efficient means to encode an image object,
|
||||||
// but node modules and their documentation are essentially arcane on this point
|
// but node modules and their documentation are essentially arcane on this point
|
||||||
w = base64.encode();
|
w = base64.encode();
|
||||||
var r = savePixels(pixels, options.format, {quality: 100});
|
var r = savePixels(pixels, options.format);
|
||||||
r.pipe(w).on('finish',function(){
|
r.pipe(w).on('finish',function(){
|
||||||
data = w.read().toString();
|
data = w.read().toString();
|
||||||
datauri = 'data:image/' + options.format + ';base64,' + data;
|
datauri = 'data:image/' + options.format + ';base64,' + data;
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ module.exports = function PixelManipulation(image, options) {
|
|||||||
// there may be a more efficient means to encode an image object,
|
// there may be a more efficient means to encode an image object,
|
||||||
// but node modules and their documentation are essentially arcane on this point
|
// but node modules and their documentation are essentially arcane on this point
|
||||||
w = base64.encode();
|
w = base64.encode();
|
||||||
var r = savePixels(pixels, options.format, {quality: 100});
|
var r = savePixels(pixels, options.format);
|
||||||
r.pipe(w).on('finish',function(){
|
r.pipe(w).on('finish',function(){
|
||||||
data = w.read().toString();
|
data = w.read().toString();
|
||||||
datauri = 'data:image/' + options.format + ';base64,' + data;
|
datauri = 'data:image/' + options.format + ';base64,' + data;
|
||||||
|
|||||||
Reference in New Issue
Block a user