$dimensions->resize()
Resizes image
$dimensions->resize(int|null $width = null, int|null $height = null, bool $force = false): Kirby\Image\Dimensions
Parameters
Name | Type | Default |
---|---|---|
$width | int ornull |
null
|
$height | int ornull |
null
|
$force | bool |
false
|
Return type
This method modifies the existing $dimensions
object it is applied to and returns it again.