mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-05 08:14:12 +09:00
enhance: convert video thumbnail to webp
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user