aspect_ratio: Compute Aspect Ratio

Description Usage Arguments Details Author(s)

Description

Compute aspect ratio of images (and potentially/eventually other graphical objects).

Usage

1
aspect_ratio(object, ...)

Arguments

object

Object to compute as

...

Additional arguments to methods, all ignored

Details

This is how much wider a thing is than its height. So an object with width "w" and height "h" has aspect ratio of w/h,or (w/h):1. If it is wider than it is high, then the aspect ratio is greater than one.

Author(s)

Rich FitzJohn


richfitz/forest documentation built on May 27, 2019, 8:17 a.m.