SharpFactory
Creates an instance from the encoded bytes of an image.
Creates an instance from the encoded bytes of an image.
Import#
ts
import type { SharpFactory } from "@shadow-js/dusk/server";
Signature#
ts
type SharpFactory = (input: Uint8Array, options?: SharpInputOptions) => SharpInstance