mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 01:50:45 +01:00
enhance: convert video thumbnail to webp
This commit is contained in:
parent
2512a4d32a
commit
a47bf48339
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
} finally {
|
||||||
cleanup();
|
cleanup();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue