Uncaught exceptions of transformations cause stale image loading
AndyOGo opened this issue · 0 comments
AndyOGo commented
This is a really neat library.
E.g. IE throws this error for huge images:
SCRIPT16389: Unspecified error.
I'm sure the reason is maximum size restrictions of <canvas />:
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas#Maximum_canvas_size
- https://stackoverflow.com/questions/6081483/maximum-size-of-a-canvas-element
A try/catch around drawImage should handle thrown exceptions, like at this line:
JavaScript-Load-Image/js/load-image-scale.js
Line 106 in b14e2df
Free high res images can be found here:
https://effigis.com/en/solutions/satellite-images/satellite-image-samples/