1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Increase pixels resolution

This commit is contained in:
Fernando Fernández 2021-11-05 13:50:17 +01:00
parent a47dd1b35c
commit 18fe70b978
No known key found for this signature in database
GPG key ID: 44495B839CCFF8CF

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,