I am studying a tutorial, and it says that we are going to set the image mode to aspect fit.
I wonder what that means?
I went to wikipeadia, and it is stated:
The aspect ratio of an image describes the proportional relationship between its width and its height. It is commonly expressed as two numbers separated by a colon, as in 16:9. For an x:y aspect ratio, no matter how big or small the image is, if the width is divided into x units of equal length and the height is measured using this same length unit, the height will be measured to be y units.
so what I understood applying what i found on wikipedia that the aspect fit, saves the same aspect ratio of an image, but let it fit to its container. **is that true? **
if yes, in this case i would like to know on which axis it fits first
like let's say that the aspect ration of my image is 6:12, which means that if the width of the image is divided to 6 equal spaces, the hight of that image will be 12 equal species. but my questions is if the image is 6:12 and we changed its mode to aspect fit, does iOS give priority to the width (so it divided the width first to 6 and then makes the hight as 12 pecies?) or it first divides the height to 12 pieces and then makes the width as 6 pieces?