nokiatech / heif

High Efficiency Image File Format
Other
1.74k stars 247 forks source link

Feature request: A way to unload images #90

Open ghost opened 4 years ago

ghost commented 4 years ago

When using the Javascript library to decode images they get stored as Uint8Array's. But you can never unload them, so this can leaks memory if you incrementally add and delete images.

Is there any chance for a remove function to be added to the api?