$filemodifications->crop()
Crops the image by the given width and height
Parameters
Name | Type | Default |
---|---|---|
$width * | int |
– |
$height | int |null |
null |
$options | mixed |
null |
Return type
Kirby\Cms\FileVersion
|Kirby\Cms\File
|Kirby\Filesystem\Asset
Parent class
Kirby\Cms\FileModifications