Module types/image-decode
Functions
export=
- export=(buffer: ArrayBuffer | Uint8Array | File | Blob | string, mimeType?: string): Promise<{ data: Uint8Array; height: number; width: number }>
-
Parameters
-
buffer: ArrayBuffer | Uint8Array | File | Blob | string
-
Optional mimeType: string
Returns Promise<{ data: Uint8Array; height: number; width: number }>