Skip to content

marklife


marklife / core/src / createPreviewOffline

Function: createPreviewOffline()

createPreviewOffline(image, options?): PreviewResult

Offline preview — render the user image with the same dither the print path uses, into a single black-on-white plane.

Parameters

image

RawImageData

options?

PreviewOptions = {}

Returns

PreviewResult