$file->isResizable()
Checks if the file is a resizable image
$file->isResizable(): bool
Return type
bool
This method modifies the existing $file object it is applied to and returns it again.
Parent class
Resizable image types
By default, the following image formats can be resized by Kirby:
avifjpgjpeggifpngwebp
The resizable image types are defined in the Kirby\Image\Image class in the public static ::$resizableTypes property.