ng2-img-max
ng2-img-max copied to clipboard
Not working on mobile
My simple implementation using resize method is making the browser crash on android. Is this tested on mobile? Any memory limitations?
Hey @hasanhameed07, this could actually take up quite some memory, yes...
I'm having the same issue. Any way to fix that?
Error: Out of bounds memory access
Same issue here. Below error occurs when calling resizeImage on iOS 11.2.2 Safari.
Error: Out of bounds memory access (evaluating 'fn(filtersX_offset, filtersY_offset, tmp_offset, srcW, srcH, destW, destH)')
Same problem here. It looks like a regression because it used to work without problems. It works fine in Safari for macOS, but fails withe the out of bounds memory access
error on Safari on iOS 11.2.2.
It looks like it has to do with memory usage. If I reduce the compression amount, then everything works again.
Same here, any fix on this?
Other library are experiencing this too https://github.com/nodeca/pica/issues/124 I think a patch for Spectre has created this issue in libraries that worked before with no issues
Any solution?
Tested, and no problem with Xiaomi MIX2S (Android 8.0), iPhone 8 Plus & iPhone X (both iOS12). using "ng2-img-max": "2.1.18"
still an issue. tested it on different android phones and it doesnt seem to compress.