1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-30 23:01:48 +09:00

enhance: convert video thumbnail to webp

This commit is contained in:
tamaina 2022-12-24 16:03:05 +00:00
parent 2512a4d32a
commit a47bf48339

View File

@ -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();
}