write Function

open external fun write(image: ScanPicture): File

Appends one page to the output file.

Call once per page, in the order they should appear. The file is not complete until close runs.

Return

the file the page was written to, which for a multi-page writer may not be the file the writer was constructed with

Parameters

  • image — the page to write

Throws

Top