first commit
This commit is contained in:
commit
c809bb3893
40 files changed
+3836
No files matched your search
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
export type ImageFormat = 'avif' | 'webp' | 'jpeg';
|
||||
export interface ConversionOptions {
|
||||
width: number;
|
||||
format: ImageFormat;
|
||||
}
|
||||
export interface ConversionResult {
|
||||
buffer: Buffer;
|
||||
format: ImageFormat;
|
||||
width: number;
|
||||
}
|
||||
export declare class FFmpegConverter {
|
||||
private getTempFilePath;
|
||||
convert(inputBuffer: Buffer, options: ConversionOptions): Promise<ConversionResult>;
|
||||
private executeFFmpeg;
|
||||
getContentType(format: ImageFormat): string;
|
||||
}
|
||||
//# sourceMappingURL=ffmpeg.d.ts.map
|
||||
Reference in new issue
Block a user