From 18fe70b978b725df2eb5361548dc698691a1af10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Fern=C3=A1ndez?= Date: Fri, 5 Nov 2021 13:50:17 +0100 Subject: [PATCH] Increase pixels resolution --- src/components/images/imageLoader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/images/imageLoader.js b/src/components/images/imageLoader.js index dbd38de9e..ae237f73c 100644 --- a/src/components/images/imageLoader.js +++ b/src/components/images/imageLoader.js @@ -23,8 +23,8 @@ import './style.scss'; // Although the default values recommended by Blurhash developers is 32x32, a size of 18x18 seems to be the sweet spot for us, // improving the performance and reducing the memory usage, while retaining almost full blur quality. // Lower values had more visible pixelation - const width = 32; - const height = 32; + const width = 20; + const height = 20; const pixels = await getPixels({ hash, width,