Returns the aspect ratio of the image
The aspect ratio describes the relation of width and height of the image. It is expressed as a fraction value which is calculated by:
width pixel / height pixel
If the ratio is lower than 1 then the height is bigger than the width resulting in a so called "portrait" format. If it is bigger than 1 then the width is bigger than the height an we have a so called "landscape" format.
The aspect ratio as fraction value (Number)
|Allowed in script types