Home > @infiniteobjects/video-print > VideoPrintFromRepository > fromFile
Creates a video print from a file on disk
Signature:
fromFile(filePath: string, fileType?: FileType, printType?: VideoPrintType): Promise<VideoPrintModel>;
Parameter | Type | Description |
---|---|---|
filePath | string | |
fileType | FileType | (Optional) |
printType | VideoPrintType | (Optional) |
Returns:
Promise<VideoPrintModel>
This does not save the print in the DB