Skip to content

Kirby 4.1.2

$image->ratio()

Returns the ratio of the asset

$image->ratio(): float

Return type

float

Parent class

Kirby\Image\Image