nodeca / pica

Resize image in browser with high quality and high speed

Home Page:http://nodeca.github.io/pica/demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS & Canvas Garbage Collection

sandstrom opened this issue · comments

I noticed this iOS issue, which mentions that canvas garbage collection doesn't work unless canvas width/height it set to 0 after use.

https://bugs.webkit.org/show_bug.cgi?id=195325

I'm not saying this is something that should be implemented, but I'm curious if you've heard about crash issues when using Pica on iOS? If so, I just wanted to mention that this may be the reason.

Not something that needs to be tackled, necessarily. I can see the downside of trying to patch a hole we don't know exist, or can't easily verify exist.

But just wanted to put this out here, since it may be relevant.

@puzrin Wow, that was quick 😄