Interface: ImageDataProvider<TImageDataSource, TImageData>
Defined in: storage/image.ts:10
Data provider for raster images
Extends
DataProvider<TImageDataSource,TImageData>
Type Parameters
TImageDataSource
TImageDataSource extends ImageDataSource
TImageData
TImageData extends ImageData
The concrete ImageData type produced by this data provider
Properties
name
readonlyname:string
Defined in: storage/base.ts:14
The name of the data provider
Inherited from
schema
readonlyschema:JsonSchema
Defined in: storage/base.ts:17
The JSON schema for the data source
Inherited from
uischema
readonlyuischema:UISchemaElement
Defined in: storage/base.ts:20
The JSON Forms UI schema for the data source
Inherited from
Methods
open()
open(
dataSource,options?):Promise<TImageData>
Defined in: storage/base.ts:29
Opens a data source and returns the loaded data accessor
Parameters
dataSource
TImageDataSource
The data source to open
options?
Optional abort signal, progress callback, and workspace directory handle
onProgress?
signal?
AbortSignal
workspace?
FileSystemDirectoryHandle | null
Returns
Promise<TImageData>
A promise that resolves to the loaded data accessor