Skip to content

Image

typescript
interface Image {
  readonly hash: string;
  getBytesAsync(): Promise<Uint8Array>;
  getSizeAsync(): Promise<{
    width: number;
    height: number;
  }>;
}