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
When dealing with large images (such as a panorama image shoot with an iPhone, resolution: 11118 × 3820) the loadImage() function with canvas=true will produce a warning: Canvas area exceeds the maximum limit (width * height > 16777216).
the canvas will then be empty, for example canvas.toDataURL() or canvas.toBlob() will return an empty object.
The text was updated successfully, but these errors were encountered:
Thanks for the report, this is a known issue and related to #110.
Not sure if there's a better way to handle this, as we cannot really test for a known size (it varies per browser and is not officially defined as far as I know).
When dealing with large images (such as a panorama image shoot with an iPhone, resolution: 11118 × 3820) the
loadImage()
function withcanvas=true
will produce a warning:Canvas area exceeds the maximum limit (width * height > 16777216).
the canvas will then be empty, for example
canvas.toDataURL()
orcanvas.toBlob()
will return an empty object.The text was updated successfully, but these errors were encountered: