JonoM\FocusPoint\Extensions\FocusPointExtension::FocusFill
Generate a resized copy of this image with the given width & height, cropping to maintain aspect ratio and focus point. Use in templates with $FocusFill.
Use to prevent upscaling
Signature
public function FocusFill(int
$width,
int
$height )
Parameters
$width
— int- Width to crop to
$height
— int- Height to crop to
Returns
- Image|DBFile|null