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
I did actually try to use the naturalWidth/Height solution, but I couldn't make it work... I managed to make a workaround where I render an invisible picture with natural size, apply the effect to that, and send the result to the smaller picture. I probably won't have time to look more at this any time soon.
When applying effects to an img element, if the size of the element is less than the natural size of the image, the result is cropped.
The text was updated successfully, but these errors were encountered: