[]previous and next page

ImageProcessorInput

What a processor is asked to do.

What a processor is asked to do.

Import#

ts
import type { ImageProcessorInput } from "@shadow-js/dusk/server";

Signature#

ts
interface ImageProcessorInput {
  readonly source: ImageSource;
  readonly width: number;
  readonly quality: number;
  readonly format: ImageFormat;
}

Members#

Name Type Description
source readonly source: ImageSource
width readonly width: number
quality readonly quality: number
format readonly format: ImageFormat