$dimensions->resize()
Resizes image
Parameters
Name | Type | Default |
---|---|---|
$width | int |
null |
$height | int |
null |
$force | bool |
false |
Return type
This method does not modify the existing $dimensions
object but returns a new object with the changes applied. Learn more →