summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-01-25 21:06:11 +0100
committerGitHub <noreply@github.com>2023-01-25 21:06:11 +0100
commit352bd7ecea488201e4162e4e31a0cf9770cf20a0 (patch)
tree757b20141d5bb611cdab281a5e88704046c35d4d /lib
parentb58d4f7d22fb5217ce92d6239ec1f8682b6d0a25 (diff)
parent9a64d95676986ca1a5a6af2ceb76cd25be15fe19 (diff)
downloadnextcloud-server-352bd7ecea488201e4162e4e31a0cf9770cf20a0.tar.gz
nextcloud-server-352bd7ecea488201e4162e4e31a0cf9770cf20a0.zip
Merge pull request #36352 from nextcloud/enh/noid/imaginary-add-tiff
imaginary - add tiff to supported formats
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Preview/Imaginary.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/Imaginary.php b/lib/private/Preview/Imaginary.php
index e78b9b441f6..0d75dbd7069 100644
--- a/lib/private/Preview/Imaginary.php
+++ b/lib/private/Preview/Imaginary.php
@@ -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 {