ImageSource
An image as the optimizer holds it.
An image as the optimizer holds it.
Import#
ts
import type { ImageSource } from "@shadow-js/dusk/server";
Signature#
ts
interface ImageSource {
readonly bytes: Uint8Array;
readonly contentType: string;
}
Members#
| Name | Type | Description |
|---|---|---|
bytes |
readonly bytes: Uint8Array |
|
contentType |
readonly contentType: string |