stack

Home > @infiniteobjects/video-print > VideoPrintFromRepository > fromFile

VideoPrintFromRepository.fromFile() method

Creates a video print from a file on disk

Signature:

fromFile(filePath: string, fileType?: FileType, printType?: VideoPrintType): Promise<VideoPrintModel>;

Parameters

Parameter Type Description
filePath string  
fileType FileType (Optional)
printType VideoPrintType (Optional)

Returns:

Promise<VideoPrintModel>

Remarks

This does not save the print in the DB