0
0

Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop

This commit is contained in:
syuilo 2022-12-25 08:27:09 +09:00
commit ef87a9db7b

View File

@ -35,9 +35,8 @@ export class VideoProcessingService {
timestamps: ['5%'], timestamps: ['5%'],
}); });
}); });
// JPEGに変換 (Webpでもいいが、MastodonはWebpをサポートせず表示できなくなる) return await this.imageProcessingService.convertToWebp(`${dir}/out.png`, 498, 280);
return await this.imageProcessingService.convertToJpeg(`${dir}/out.png`, 498, 280);
} finally { } finally {
cleanup(); cleanup();
} }