From 28cf77ce77fc6244d265addfc8ded7d3dd6086bf Mon Sep 17 00:00:00 2001 From: Elihuso Quigley Date: Thu, 2 Jan 2025 15:16:19 +0800 Subject: [PATCH] [O] Use smaller image component --- scripts/blurhash.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/blurhash.ts b/scripts/blurhash.ts index 0e1f3297..4cef8ffa 100644 --- a/scripts/blurhash.ts +++ b/scripts/blurhash.ts @@ -3,5 +3,5 @@ import { getSync } from '@andreekeberg/imagedata'; export async function encodeBlur(path: string): Promise { const data = getSync(path); - return encode(data.data, data.width, data.height, 4, 4); + return encode(data.data, data.width, data.height, 2, 2); } \ No newline at end of file