A snapshot produced by the experimental HTML-in-Canvas captureElementImage() API.
A snapshot is a frozen, immutable copy of an element's rendered pixels at the moment it was
captured. Unlike a live HTMLSource element, it never repaints, so it is a good fit
for effects that need a stable image (transitions, "shatter" effects, trails). Snapshots are
transferable and cheap to keep around; rendering live elements is what most apps reach for.
A snapshot produced by the experimental HTML-in-Canvas
captureElementImage()API.A snapshot is a frozen, immutable copy of an element's rendered pixels at the moment it was captured. Unlike a live HTMLSource element, it never repaints, so it is a good fit for effects that need a stable image (transitions, "shatter" effects, trails). Snapshots are transferable and cheap to keep around; rendering live elements is what most apps reach for.
Call ElementImage.close (or set ElementImageSourceOptions.autoClose) to release the underlying memory once you are done.
Example
See