diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2022-12-24 16:03:05 +0000 |
|---|---|---|
| committer | tamaina <tamaina@hotmail.co.jp> | 2022-12-24 16:03:05 +0000 |
| commit | a47bf483396d11c26d0cdf3810e451e17b8153c5 (patch) | |
| tree | c327b64f84215c351a35ad7ed6b2a804aa367380 /packages/backend/src/core/VideoProcessingService.ts | |
| parent | chore: Delete comment that is not true (diff) | |
| download | sharkey-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.ts | 2 |
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(); } |