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
What are you trying to achieve?
I am trying to resize image after rotate. For example, if an image is 100px width and 50px height, if I rotate it by 90 degree, height becomes 100px and width becomes 50px.
Now, if I pass input.rotate(90).resize({width: 50, fit: 'inside'}), I expect the output image to be of 50 pixel width and 100 pixel height but I get 25 pixel width and 50 pixel height image.
Question is how to change order or rotate and resize operations?
The text was updated successfully, but these errors were encountered:
What are you trying to achieve?
I am trying to resize image after rotate. For example, if an image is
100px
width and50px
height, if I rotate it by 90 degree, height becomes 100px and width becomes 50px.Now, if I pass
input.rotate(90).resize({width: 50, fit: 'inside'})
, I expect the output image to be of 50 pixel width and 100 pixel height but I get 25 pixel width and 50 pixel height image.Question is how to change order or rotate and resize operations?
The text was updated successfully, but these errors were encountered: