Skip to content

Commit

Permalink
Merge pull request #36365 from nextcloud/backport/36352/stable24
Browse files Browse the repository at this point in the history
[stable24] imaginary - add tiff to supported formats
  • Loading branch information
PVince81 authored Jan 26, 2023
2 parents bd9b3c3 + 664133e commit fb3261a
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 fb3261a

Please sign in to comment.