Image thumbnails performance

Hi there.

I want to create many thumbnails for images, I dont need to save them locally, just need base64 or smth else.
I tried it with canvas and ImageResizer but I have got bad performance with large size images. When I scroll it stops scrolling while creating thumbnails.

Maybe somebody knows how to improve perfomance with creating thumbnails to make it like in default filesystem launcher or Telegram file chooser?

Platform is Android.

What code have you tried so far?
How are you measuring performance?

Found solution, bug in native plugin. Created issue here https://github.com/JoschkaSchulz/cordova-plugin-image-resizer/issues/69