aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-01-25 11:53:16 +0100
committerSimon L <szaimen@e.mail.de>2023-01-25 11:53:16 +0100
commit9a64d95676986ca1a5a6af2ceb76cd25be15fe19 (patch)
tree603198b20020298dd74b9b2ee7ea5f1ae3efd533 /lib
parentd51429a47232bbf46a2be832ecfa711f102da802 (diff)
downloadnextcloud-server-9a64d95676986ca1a5a6af2ceb76cd25be15fe19.tar.gz
nextcloud-server-9a64d95676986ca1a5a6af2ceb76cd25be15fe19.zip
imaginary - add tiff to supported formats
Signed-off-by: Simon L <szaimen@e.mail.de>
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 {