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
Image resolution is not correct after rotate and resize.
For example, the original image resolution is 3000(w) x 2000(h).
what I am going to do is resize the image to 750(w) x 500(h) then rotate image by 90 degree. So the image resolution should be 500(w) x 750(h). Code is:
Image resolution is not correct after rotate and resize.
For example, the original image resolution is 3000(w) x 2000(h).
what I am going to do is resize the image to 750(w) x 500(h) then rotate image by 90 degree. So the image resolution should be 500(w) x 750(h). Code is:
However, the resolution of image results at 333(w) x 500(h).
Seems like the rotate operation is done before resize no matter the operation order is.
I have confirmed if I separate this two operation into two script to process, I will got the correct image resolution. So I believe a bug is in there.
The text was updated successfully, but these errors were encountered: