summaryrefslogtreecommitdiffstats
path: root/lib/private/PreviewManager.php
diff options
context:
space:
mode:
authortobiasKaminsky <tobias@kaminsky.me>2021-07-21 09:14:20 +0200
committertobiasKaminsky <tobias@kaminsky.me>2021-07-21 09:14:20 +0200
commitf62ec2b47c233e8da495d61b656047ecd7645764 (patch)
treedf662b697293d72dd698cbec443d473748bf88c4 /lib/private/PreviewManager.php
parent72e620186973454459e8de2972ecde92c9e62756 (diff)
downloadnextcloud-server-f62ec2b47c233e8da495d61b656047ecd7645764.tar.gz
nextcloud-server-f62ec2b47c233e8da495d61b656047ecd7645764.zip
Disable HEIC image preview provider for performance concerns
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Diffstat (limited to 'lib/private/PreviewManager.php')
-rw-r--r--lib/private/PreviewManager.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/PreviewManager.php b/lib/private/PreviewManager.php
index d6dc700e4a2..7ae13f01cb8 100644
--- a/lib/private/PreviewManager.php
+++ b/lib/private/PreviewManager.php
@@ -278,7 +278,6 @@ class PreviewManager implements IPreview {
* - OC\Preview\JPEG
* - OC\Preview\GIF
* - OC\Preview\BMP
- * - OC\Preview\HEIC
* - OC\Preview\XBitmap
* - OC\Preview\MarkDown
* - OC\Preview\MP3
@@ -286,6 +285,7 @@ class PreviewManager implements IPreview {
*
* The following providers are disabled by default due to performance or privacy concerns:
* - OC\Preview\Font
+ * - OC\Preview\HEIC
* - OC\Preview\Illustrator
* - OC\Preview\Movie
* - OC\Preview\MSOfficeDoc
@@ -311,7 +311,6 @@ class PreviewManager implements IPreview {
Preview\JPEG::class,
Preview\GIF::class,
Preview\BMP::class,
- Preview\HEIC::class,
Preview\XBitmap::class,
Preview\Krita::class,
Preview\WebP::class,