Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on mobile #20

Open
hasanhameed07 opened this issue Jan 9, 2018 · 9 comments
Open

Not working on mobile #20

hasanhameed07 opened this issue Jan 9, 2018 · 9 comments

Comments

@hasanhameed07
Copy link

My simple implementation using resize method is making the browser crash on android. Is this tested on mobile? Any memory limitations?

@bergben
Copy link
Owner

bergben commented Jan 9, 2018

Hey @hasanhameed07, this could actually take up quite some memory, yes...

@MatissJanis
Copy link

MatissJanis commented Jan 12, 2018

I'm having the same issue. Any way to fix that?

Error: Out of bounds memory access

@harlig
Copy link

harlig commented Jan 16, 2018

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)')

@seb-z
Copy link

seb-z commented Jan 19, 2018

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.

@jobnte
Copy link

jobnte commented Feb 28, 2018

Same here, any fix on this?

@devakone
Copy link

devakone commented Mar 4, 2018

Other library are experiencing this too nodeca/pica#124
I think a patch for Spectre has created this issue in libraries that worked before with no issues

@shubhpy
Copy link

shubhpy commented Jun 20, 2018

Any solution?

@acliyang
Copy link

Tested, and no problem with Xiaomi MIX2S (Android 8.0), iPhone 8 Plus & iPhone X (both iOS12).
using "ng2-img-max": "2.1.18"

@alexw92
Copy link

alexw92 commented Jun 18, 2023

still an issue. tested it on different android phones and it doesnt seem to compress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants