Closed kx-chen closed 5 years ago
Currently resizing multiple images to display, however, RAM usage goes through the roof on Chrome:
This is how I'm using it (simplified):
addImage(e) { const files = Array.from(e.target.files); files.forEach((file) => { Resizer.imageFileResizer( file, 300, 300, 'JPEG', 100, 0, uri => { console.log(uri); }, 'base64' ); }); }
Any ideas? I've already tried modifying the library code to remove instances of Image and the canvas after getting the resized uri, however RAM usage is still extremely high.
Image
This doesn't happen on Safari. Any ideas would be appreciated. :)
Apologies, wrong repository 🤦♂
Currently resizing multiple images to display, however, RAM usage goes through the roof on Chrome:
This is how I'm using it (simplified):
Any ideas? I've already tried modifying the library code to remove instances of
Image
and the canvas after getting the resized uri, however RAM usage is still extremely high.This doesn't happen on Safari. Any ideas would be appreciated. :)