diff --git a/packages/backend/src/core/FileInfoService.ts b/packages/backend/src/core/FileInfoService.ts index 6bd6cb8d9b..9195d0eb4b 100644 --- a/packages/backend/src/core/FileInfoService.ts +++ b/packages/backend/src/core/FileInfoService.ts @@ -458,9 +458,9 @@ export class FileInfoService { private getBlurhash(path: string, type: string): Promise { return new Promise(async (resolve, reject) => { (await sharpBmp(path, type)) - .raw() - .ensureAlpha() .resize(64, 64, { fit: 'inside' }) + .ensureAlpha() + .raw() .toBuffer((err, buffer, info) => { if (err) return reject(err);