← back to roto on ba3a.dev

HandoffWriter

Writes a clip's handoff .ase, keeping the artist's layers of the file already there by HandoffMerge. An existing file that cannot be read — damaged, or saved in a form Roto does not read — fails the write with its reason, and is left exactly as it was: a file that may hold the artist's painting is never overwritten unread.

Functions

Link copied to clipboard
fun write(file: Path, render: HandoffRender)

Writes the handoff for render to file, keeping the artist's layers of any file already there.