aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Preview/Generator.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Preview/Generator.php')
-rw-r--r--lib/private/Preview/Generator.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Preview/Generator.php b/lib/private/Preview/Generator.php
index 4e4571f0857..b9ea5ea1a07 100644
--- a/lib/private/Preview/Generator.php
+++ b/lib/private/Preview/Generator.php
@@ -651,6 +651,8 @@ class Generator {
return 'png';
case 'image/jpeg':
return 'jpg';
+ case 'image/webp':
+ return 'webp';
case 'image/gif':
return 'gif';
default: