This commit is contained in:
seb
2026-10-10 02:14:03 +02:00
parent 906ebafbbe
commit cf1c8d1126
11 changed files with 12 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ import { rgbaToThumbHash } from 'thumbhash';
const FULL_MAX = 1000;
const THUMB_MAX = 200;
const SMALL_THUMB_MAX = 40;
const SMALL_THUMB_MAX = 32;
export default async function processAvifImage(inputBuffer) {
const input = Buffer.isBuffer(inputBuffer)