← back to roto on ba3a.dev

SourceImport

Brings a video or a photo into a profile's sources/ folder, which holds the originals Roto never modifies. The file is copied, whole or not at all; the original stays where it was. A file already in the folder, or an identical copy of one, is not copied again; a different file of the same name gets a numbered name, so nothing there is ever replaced.

Functions

Link copied to clipboard
fun import(file: Path, folder: ProfileFolder): String

file, in folder's sources; returns its path there, as a clip's source holds it.