aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormax-nextcloud <max@nextcloud.com>2025-01-28 22:58:30 +0100
committerGitHub <noreply@github.com>2025-01-28 22:58:30 +0100
commit0741f6fb80f0f3a1ea25ad400dbac94f674b9573 (patch)
treee425aad2f9f25f7e36a282ad9bee454a1ec7b445
parentbaa40e6e1986c19a326b2cb021031333b8bba7d0 (diff)
parentfaaed68c04776c1ab5cde3286c31032cb4d8be4b (diff)
downloadnextcloud-server-0741f6fb80f0f3a1ea25ad400dbac94f674b9573.tar.gz
nextcloud-server-0741f6fb80f0f3a1ea25ad400dbac94f674b9573.zip
Merge pull request #50494 from nextcloud/fix/low-res-for-blurhash
fix(performance): use low resolution for blurhash
-rw-r--r--lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php b/lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php
index 1d0a502df6d..b84dd61fc5f 100644
--- a/lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php
+++ b/lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php
@@ -27,7 +27,7 @@ use OCP\Lock\LockedException;
* @template-implements IEventListener<AMetadataEvent>
*/
class GenerateBlurhashMetadata implements IEventListener {
- private const RESIZE_BOXSIZE = 300;
+ private const RESIZE_BOXSIZE = 30;
private const COMPONENTS_X = 4;
private const COMPONENTS_Y = 3;