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
Why use the while gradual approximation method instead of directly using max (min, max) to set the width and height to the limit values and another proportional scaling,the gradually approaching final result is also like this。
I see that you compare sizes using the method of size=w x h. So, may I ask if one side exceeds the browser limit while the other side is relatively small, it can still pass the test, but in reality, it will still cause the browser to crash