Skip to content

Commit faaed68

Browse files
committed
fix(performance): use low resolution for blurhash
Improve blurhash performance by using a low res image. The results are hard to destinguish visualy. It is a **blur** hash after all. Signed-off-by: Max <[email protected]>
1 parent 2c77303 commit faaed68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* @template-implements IEventListener<AMetadataEvent>
2828
*/
2929
class GenerateBlurhashMetadata implements IEventListener {
30-
private const RESIZE_BOXSIZE = 300;
30+
private const RESIZE_BOXSIZE = 30;
3131

3232
private const COMPONENTS_X = 4;
3333
private const COMPONENTS_Y = 3;

0 commit comments

Comments
 (0)