Signed-off-by: Simon L <szaimen@e.mail.de>tags/v26.0.0beta1
} | } | ||||
public static function supportedMimeTypes(): string { | public static function supportedMimeTypes(): string { | ||||
return '/image\/(bmp|x-bitmap|png|jpeg|gif|heic|svg|webp)/'; | |||||
return '/image\/(bmp|x-bitmap|png|jpeg|gif|heic|svg|tiff|webp)/'; | |||||
} | } | ||||
public function getCroppedThumbnail(File $file, int $maxX, int $maxY, bool $crop): ?IImage { | public function getCroppedThumbnail(File $file, int $maxX, int $maxY, bool $crop): ?IImage { |