ReadonlybackendOptional ReadonlygpuOptional ReadonlyreasonWhy 'auto' chose the CPU.
Renders an edit document on a linear image (see applyEdit in @rullino/core).
Optionaloptions: { scale?: number }Releases the GPU device.
Renders an edit document and encodes the result as the document's output says. The input is
8-bit RGBA pixels, or an encoded image file (JPEG, PNG, WebP, AVIF, TIFF... decoded by sharp,
EXIF orientation applied). PNG is written by rullino (8 or 16 bit); JPEG and WebP by sharp.
The GPU context, when the backend is 'gpu'.