Increase pixels resolution

This commit is contained in:
Fernando Fernández
2021-11-05 13:50:17 +01:00
parent a47dd1b35c
commit 18fe70b978
+2 -2
View File
@@ -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,