Skip to content

Commit

Permalink
[O] Use smaller image component
Browse files Browse the repository at this point in the history
  • Loading branch information
LS-KR committed Jan 2, 2025
1 parent 8a428bf commit 28cf77c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/blurhash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 28cf77c

Please sign in to comment.