mirror of
https://github.com/one-among-us/data.git
synced 2025-01-09 18:42:21 +08:00
[O] Use smaller image component
This commit is contained in:
parent
8a428bf39c
commit
28cf77ce77
@ -3,5 +3,5 @@ import { getSync } from '@andreekeberg/imagedata';
|
||||
|
||||
export async function encodeBlur(path: string): Promise<string> {
|
||||
const data = getSync(path);
|
||||
return encode(data.data, data.width, data.height, 4, 4);
|
||||
return encode(data.data, data.width, data.height, 2, 2);
|
||||
}
|
Loading…
Reference in New Issue
Block a user