You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm running into some memory issues with your script in MS Edge. I'm using your default maxWidth and maxHeight of 1024px. When I try to upload an image with the dimensions 7525×5019px, Edge 14.14393 on Windows 10 aborts the upload with the following error:
Not enough storage is available to complete this operation.
According to this, IE can handle a canvas of maximum 8,192×8,192px, and Edge can probably handle a lot more, so I should be well within the boundaries. I'm having no issues in IE10 or IE11. Any idea what could be causing this?
The text was updated successfully, but these errors were encountered:
Well outside of my area of expertise I'm afraid! If it wasn't working in any browser I'd guess the max texture size for your device didn't support 8096x8096 (roughly 90% of cards do as of not too long ago). As it is, it sounds like an issue with Edge and an admittedly unusual use of canvas elements. I'll do some googling on the subject as it sounds an interesting one, but I wrote this code several years before Edge even existed :)
Hey, I'm running into some memory issues with your script in MS Edge. I'm using your default
maxWidth
andmaxHeight
of 1024px. When I try to upload an image with the dimensions 7525×5019px, Edge 14.14393 on Windows 10 aborts the upload with the following error:Not enough storage is available to complete this operation.
It points to line 167:
ctx.drawImage(img, 0, 0);
According to this, IE can handle a canvas of maximum 8,192×8,192px, and Edge can probably handle a lot more, so I should be well within the boundaries. I'm having no issues in IE10 or IE11. Any idea what could be causing this?
The text was updated successfully, but these errors were encountered: