From fa5bd3d1c64858e554f4400a7947b23bd501dfab Mon Sep 17 00:00:00 2001 From: Surma Date: Tue, 8 Dec 2020 18:24:26 +0000 Subject: [PATCH] Update cli/src/image_data.js Co-authored-by: Ingvar Stepanyan --- cli/src/image_data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/image_data.js b/cli/src/image_data.js index 90517ea3..5ac9617d 100644 --- a/cli/src/image_data.js +++ b/cli/src/image_data.js @@ -5,7 +5,7 @@ export default class ImageData { // been corrupted. // FIXME: This is bad because it’s overhead that we should only need // to pay for Rust, not for C++. - this.data = new Uint8ClampedArray(data); + this.data = data; this.width = width; this.height = height; }