mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 22:27:31 -04:00
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 <max@nextcloud.com>
This commit is contained in:
parent
2c773033bc
commit
faaed68c04
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue