Skip to content

Commit

Permalink
Merge pull request #36352 from nextcloud/enh/noid/imaginary-add-tiff
Browse files Browse the repository at this point in the history
imaginary - add tiff to supported formats
  • Loading branch information
szaimen authored Jan 25, 2023
2 parents b58d4f7 + 9a64d95 commit 352bd7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Preview/Imaginary.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function getMimeType(): string {
}

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 {
Expand Down

0 comments on commit 352bd7e

Please sign in to comment.