Compelete thumbnail generate via ffmpeg API

This commit is contained in:
2023-08-27 08:31:24 +08:00
parent 257fa54da6
commit 289ea9586c
4 changed files with 150 additions and 20 deletions

View File

@@ -9,6 +9,14 @@ export enum ThumbnailGenMethod {
Fill,
}
export enum ThumbnailAlign {
Left,
Top = 0,
Center,
Right,
Bottom = 2,
}
export type ThumbnailConfig = {
width: number;
height: number;