render(result, opts) re-encodes a payload as a fresh SVG. Change anything; the preview updates. “Scan it back” rasterizes the SVG and feeds it to scan({ image }) on the same session/worker.
render(result, opts)
scan({ image })
Size includes the borders, e.g. 12 × 36 for a rectangular DMRE.