Skip to content

Out of memory issue #8

@stmusic

Description

@stmusic

I have to say this is indeed a great tool for downscaling image. The downscale.js has better balance between processing speed and image quality. However, I encountered two problem when using the downscale.js. The major problem is that it is very memory consuming. Even only one photo (about 10m size, 6000 X 4000px), it consumes 100m memory. It seems the memory (probably the ImageData variables) is not freed properly. I tested the provided demo (https://ytiurin.github.io/downscale/demo/multiselect.html) and I chose 10 photos (taken by camera, all about 10m size, 6000 X 4000px), then the browser will crash and report ‘out of memory’ error. The second problem is that the downscale.js doesn’t support IE (IE10 or IE11), it will report ImageData not support error. I am not proficient in this area, so could you kindly help to check these problems? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions