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
Image is not created in Safari if the element is huge. Browsers Chrome and Edge work, however.
Error in the Safari console is: "Canvas area exceeds the maximum limit (width * height > 268435456)"
I tried to use the scale option but it seems to have no effect. I assume the code tries to create the canvas - and scales only afterwards. So the error persists.
How to fix this?
Update 1: I checked the image dimensions. It is 21504025 pixels area, so the 268435456 have not been exceeded.
Bug:
Image is not created in Safari if the element is huge. Browsers Chrome and Edge work, however.
Error in the Safari console is: "Canvas area exceeds the maximum limit (width * height > 268435456)"
I tried to use the
scale
option but it seems to have no effect. I assume the code tries to create the canvas - and scales only afterwards. So the error persists.How to fix this?
Update 1: I checked the image dimensions. It is
21504025
pixels area, so the268435456
have not been exceeded.Update 2:
I just learned that Safari has a maximum area limit of ONLY
5242880 pixels
. See here: https://stackoverflow.com/a/23391599/1066234The text was updated successfully, but these errors were encountered: