Skip to content

Commit 352bd7e

Browse files
authored
Merge pull request #36352 from nextcloud/enh/noid/imaginary-add-tiff
imaginary - add tiff to supported formats
2 parents b58d4f7 + 9a64d95 commit 352bd7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Preview/Imaginary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function getMimeType(): string {
5757
}
5858

5959
public static function supportedMimeTypes(): string {
60-
return '/image\/(bmp|x-bitmap|png|jpeg|gif|heic|svg|webp)/';
60+
return '/image\/(bmp|x-bitmap|png|jpeg|gif|heic|svg|tiff|webp)/';
6161
}
6262

6363
public function getCroppedThumbnail(File $file, int $maxX, int $maxY, bool $crop): ?IImage {

0 commit comments

Comments
 (0)