summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/VideoProcessingService.ts
diff options
context:
space:
mode:
authortamaina <tamaina@hotmail.co.jp>2022-12-24 16:03:05 +0000
committertamaina <tamaina@hotmail.co.jp>2022-12-24 16:03:05 +0000
commita47bf483396d11c26d0cdf3810e451e17b8153c5 (patch)
treec327b64f84215c351a35ad7ed6b2a804aa367380 /packages/backend/src/core/VideoProcessingService.ts
parentchore: Delete comment that is not true (diff)
downloadsharkey-a47bf483396d11c26d0cdf3810e451e17b8153c5.tar.gz
sharkey-a47bf483396d11c26d0cdf3810e451e17b8153c5.tar.bz2
sharkey-a47bf483396d11c26d0cdf3810e451e17b8153c5.zip
enhance: convert video thumbnail to webp
Diffstat (limited to 'packages/backend/src/core/VideoProcessingService.ts')
-rw-r--r--packages/backend/src/core/VideoProcessingService.ts2
1 files changed, 1 insertions, 1 deletions
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();
}