Browse Source

imaginary - add tiff to supported formats

Signed-off-by: Simon L <szaimen@e.mail.de>
tags/v26.0.0beta1
Simon L 1 year ago
parent
commit
9a64d95676
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/private/Preview/Imaginary.php

+ 1
- 1
lib/private/Preview/Imaginary.php 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 {

Loading…
Cancel
Save