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
{{ message }}
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.
I'm trying to scale an image without keeping the original ratio.
image.scale({width: 1000,height: 500});
So, for instance, if an image has the dimensions 2000 x 800 before scaling, after calling the scale function as indicated above, the resulted image has the dimensions 1000 x 400 instead of 1000 x 500.
The text was updated successfully, but these errors were encountered:
I'm trying to scale an image without keeping the original ratio.
So, for instance, if an image has the dimensions
2000 x 800
before scaling, after calling the scale function as indicated above, the resulted image has the dimensions1000 x 400
instead of1000 x 500
.The text was updated successfully, but these errors were encountered: