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
Instead of attempting to resize a huge image and causing an OOM error, the library should check to see if it's a reasonable size to scale and go from there.
The idea of a "reasonable size" should be determined empirically based on actual memory consumption for resizing an image using the resize technique used in the library.
It's also possible that resizing a huge image is fairly efficient and that this sanity check is unnecessary.
The text was updated successfully, but these errors were encountered:
Instead of attempting to resize a huge image and causing an OOM error, the library should check to see if it's a reasonable size to scale and go from there.
The idea of a "reasonable size" should be determined empirically based on actual memory consumption for resizing an image using the resize technique used in the library.
It's also possible that resizing a huge image is fairly efficient and that this sanity check is unnecessary.
The text was updated successfully, but these errors were encountered: