ffmpeg-toolkit
Version:
A modern FFmpeg toolkit for Node.js
20 lines • 785 B
TypeScript
import { BaseCore } from '../core/BaseCore.js';
import { BaseResponse, ConvertImageOptions, ExtractThumbnailOptions, ImageToVideoOptions, ResizeImageOptions } from '../types/index.js';
export declare class ImageModule {
private readonly base;
constructor(base: BaseCore);
private getImageSettings;
convertImage(options: ConvertImageOptions): Promise<BaseResponse<{
outputPath: string;
}>>;
resizeImage(options: ResizeImageOptions): Promise<BaseResponse<{
outputPath: string;
}>>;
extractThumbnail(options: ExtractThumbnailOptions): Promise<BaseResponse<{
outputPath: string;
}>>;
imageToVideo(options: ImageToVideoOptions): Promise<BaseResponse<{
outputPath: string;
}>>;
}
//# sourceMappingURL=image.d.ts.map