Merge pull request #36352 from nextcloud/enh/noid/imaginary-add-tiff

imaginary - add tiff to supported formats
This commit is contained in:
Simon L 2023-01-25 21:06:11 +01:00 committed by GitHub
commit 352bd7ecea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@ class Imaginary extends ProviderV2 {
}
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 {