Increase pixels resolution
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user