Renders edit (default: the last one set) on the full-resolution original and encodes it as its output says.
Optionaledit: unknownShows edit (an edit document) on the node: rendered at the node's size on screen, capped at
the source's, then swapped in and the layer redrawn. Calls made while a render runs coalesce:
only the latest document is rendered next, and every returned promise resolves once it is shown.
The document's output is ignored here; it applies to export().
Puts the original image back on the node; the edit can no longer be used.