forked from external-repos/squoosh
Update cli/src/image_data.js
Co-authored-by: Ingvar Stepanyan <me@rreverser.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user