OptionaloutputResult type. Default imageData.
OptionaltypeEncoding for output: 'blob'. Default image/png.
OptionalqualityEncoder quality 0-1 for lossy types.
OptionalworkerRun in Web Workers (default true). Falls back to the main thread automatically.
OptionalmaxLongest side, in pixels, the preview is computed at. A larger input is
shrunk once (and reused while the same input is passed) and each run
works on the small copy, with the sharpen radius scaled to match, so
slider moves are fast. Results then have the reduced size. Default: no
limit. Run the pipeline on the original for the final full-size result.
OptionalcolorDefault auto.
Options for createPreviewRunner.