From a47bf483396d11c26d0cdf3810e451e17b8153c5 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sat, 24 Dec 2022 16:03:05 +0000 Subject: [PATCH] enhance: convert video thumbnail to webp --- packages/backend/src/core/VideoProcessingService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/VideoProcessingService.ts b/packages/backend/src/core/VideoProcessingService.ts index ad0458fe32..ea5701decc 100644 --- a/packages/backend/src/core/VideoProcessingService.ts +++ b/packages/backend/src/core/VideoProcessingService.ts @@ -36,7 +36,7 @@ export class VideoProcessingService { }); }); - return await this.imageProcessingService.convertToJpeg(`${dir}/out.png`, 498, 280); + return await this.imageProcessingService.convertToWebp(`${dir}/out.png`, 498, 280); } finally { cleanup(); }