Skip to content

Kirby 4.2.0

$image->ratio()

Returns the ratio of the asset

$image->ratio(): float

Return type

float

Parent class

Kirby\Image\Image